diff --git a/sowm.c b/sowm.c index 7b4ee92..93ff0ba 100644 --- a/sowm.c +++ b/sowm.c @@ -292,6 +292,8 @@ void ws_go(const Arg arg) { if (list) for WIN XUnmapWindow(dis, c->win); ws_sel(arg.i); + + if (list) XSetInputFocus(dis, list->win, RevertToParent, CurrentTime); } void ws_save(int i) {