summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStivvo <stivvo01@gmail.com>2020-10-30 23:30:00 +0100
committerStivvo <stivvo01@gmail.com>2020-10-30 23:30:00 +0100
commitfbbc1fd65658db1634926bc65be7174cd141b64e (patch)
treed828e3af9134ad3d2c2463a097e3b302fed26dcd
parentd4178b9d2a89c24b99e2b26aec8ac15ab5dcdd84 (diff)
parent618972696de9499fa38b613a47799cf46b2b0135 (diff)
Merge branch 'handleUnplug' of http://olidata.stivvo01.com:3000/Stivvo01/dwl into handleUnplug
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index f688bf6..8852f8f 100644
--- a/dwl.c
+++ b/dwl.c
@@ -706,6 +706,7 @@ closemon(Monitor *m, Monitor *newmon)
// move all the clients on a closed monitor to another one
Client *c;
+ focusclient(selclient(), focustop(dirtomon(-1)), 1);
wl_list_for_each(c, &clients, link) {
if (c->isfloating && c->geom.x > m->m.width)
resize(c, c->geom.x - m->w.width, c->geom.y,