Don't switch to disabled mons after unplug
1 files changed, 3 insertions(+), 1 deletions(-) M dwl.c
M dwl.c => dwl.c +3 -1
@@ 704,7 704,9 @@ cleanupmon(struct wl_listener *listener, void *data) updatemons(); selmon = wl_container_of(mons.next, selmon, link); do // don't switch to disabled mons selmon = wl_container_of(mons.next, selmon, link); while (!selmon->wlr_output->enabled); focusclient(selclient(), focustop(selmon), 1); closemon(m);