Keep client tags on unplug

When unplugging a monitor, each client is moved to the same tag number
as before on the new monitor
main
Stivvo 2020-09-15 12:11:40 +02:00
parent bece225934
commit d8f752c9b4
1 changed files with 1 additions and 1 deletions

2
dwl.c
View File

@ -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;
} }