commit fbbc1fd65658db1634926bc65be7174cd141b64e
parent d4178b9d2a89c24b99e2b26aec8ac15ab5dcdd84
Author: Stivvo <stivvo01@gmail.com>
Date: Fri, 30 Oct 2020 23:30:00 +0100
Merge branch 'handleUnplug' of http://olidata.stivvo01.com:3000/Stivvo01/dwl into handleUnplug
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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,