commit d8f752c9b46f8ef2286cddd45628b6db576b8ddf
parent bece225934216f1d047ebecc5b574ed1b15886f2
Author: Stivvo <stivvo01@gmail.com>
Date: Tue, 15 Sep 2020 12:11:40 +0200
Keep client tags on unplug
When unplugging a monitor, each client is moved to the same tag number
as before on the new monitor
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwl.c b/dwl.c
@@ -705,7 +705,7 @@ cleanupmon(struct wl_listener *listener, void *data)
c->geom.width, c->geom.height, 0);
}
if (c->mon == m)
- setmon(c, newmon, 0);
+ setmon(c, newmon, c->tags);
}
break;
}