diff options
| author | Abhinav Prasai <abhinav.prsai@gmail.com> | 2025-10-12 18:47:42 +0100 |
|---|---|---|
| committer | Abhinav Prasai <abhinav.prsai@gmail.com> | 2025-10-12 18:47:42 +0100 |
| commit | 867f67181098617d863170b537ff9cd772d2f22b (patch) | |
| tree | dfc5824bfb312442ec54b02318d408d954be4c21 /src/sxwm.c | |
| parent | 9c62bc37848910476c243eec7c6d8c99c8d4751c (diff) | |
fix fullscreen programs wont focus on monitor switch
Diffstat (limited to 'src/sxwm.c')
| -rw-r--r-- | src/sxwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -649,7 +649,7 @@ void focus_next_mon(void) /* find the first window on the target monitor in current workspace */ Client *target_client = NULL; for (Client *c = workspaces[current_ws]; c; c = c->next) { - if (c->mon == target_mon && c->mapped && !c->fullscreen) { + if (c->mon == target_mon && c->mapped) { target_client = c; break; } @@ -681,7 +681,7 @@ void focus_prev_mon(void) /* find the first window on the target monitor in current workspace */ Client *target_client = NULL; for (Client *c = workspaces[current_ws]; c; c = c->next) { - if (c->mon == target_mon && c->mapped && !c->fullscreen) { + if (c->mon == target_mon && c->mapped) { target_client = c; break; } |
