focus window on ws change

This commit is contained in:
Dylan Araps
2019-10-13 17:30:09 +03:00
parent 2385f2c4e7
commit 4475ac5653

2
sowm.c
View File

@@ -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) {