aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Jargowsky <benjar63@gmail.com>2022-05-11 14:30:10 +0200
committerBen Jargowsky <benjar63@gmail.com>2022-05-13 10:20:28 +0200
commit06d9230a9611ab70041c7dbb1bf3d9e9ea497271 (patch)
tree3d571716887db32e96fddb508f03dd4b1d929f6e
parent22bd75226bc897a3b2ad90f36883ff489d435eb4 (diff)
Run focusclient when switching to monocle layout
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 8088d9f..55e9f35 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1405,6 +1405,7 @@ monocle(Monitor *m)
continue;
resize(c, m->w.x, m->w.y, m->w.width, m->w.height, 0);
}
+ focusclient(focustop(m), 1);
}
void