mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-11-28 21:08:41 +00:00
focus window on ws change
This commit is contained in:
1 parent
2385f2c4e7
commit
4475ac5653
1 file changed
+2
@@ -292,6 +292,8 @@ void ws_go(const Arg arg) {
|
|||||||
if (list) for WIN XUnmapWindow(dis, c->win);
|
if (list) for WIN XUnmapWindow(dis, c->win);
|
||||||
|
|
||||||
ws_sel(arg.i);
|
ws_sel(arg.i);
|
||||||
|
|
||||||
|
if (list) XSetInputFocus(dis, list->win, RevertToParent, CurrentTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ws_save(int i) {
|
void ws_save(int i) {
|
||||||
|
|||||||
Reference in new issue
Block a user