mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 19:26:32 +00:00
Keep client tags on unplug
When unplugging a monitor, each client is moved to the same tag number as before on the new monitor
This commit is contained in:
parent
bece225934
commit
d8f752c9b4
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue