From 867f67181098617d863170b537ff9cd772d2f22b Mon Sep 17 00:00:00 2001 From: Abhinav Prasai Date: Sun, 12 Oct 2025 18:47:42 +0100 Subject: fix fullscreen programs wont focus on monitor switch --- src/sxwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sxwm.c b/src/sxwm.c index 4f902de..9781cb2 100644 --- a/src/sxwm.c +++ b/src/sxwm.c @@ -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; } -- cgit v1.2.3