~ruther/dwl

d8f752c9b46f8ef2286cddd45628b6db576b8ddf — Stivvo 4 years ago bece225
Keep client tags on unplug

When unplugging a monitor, each client is moved to the same tag number
as before on the new monitor
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 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;
	}

Do not follow this link