forked from mirror/dwl
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);
|
c->geom.width, c->geom.height, 0);
|
||||||
}
|
}
|
||||||
if (c->mon == m)
|
if (c->mon == m)
|
||||||
setmon(c, newmon, 0);
|
setmon(c, newmon, c->tags);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue