summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruint <abhinav.prsai@gmail.com>2025-12-13 17:46:24 +0000
committeruint <abhinav.prsai@gmail.com>2025-12-13 17:46:24 +0000
commitf4ee512b3ed1684857925424500fb646815b6260 (patch)
tree671695b0708808467babebe48c10a7814a2ad9c0 /src
parenta92cb9ae52f09c56c461501ad6020a95878bb41e (diff)
fix fullscreen brokenness
finally remembered
Diffstat (limited to 'src')
-rw-r--r--src/sxwm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index 703cc07..6894363 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -2633,17 +2633,13 @@ void tile(void)
update_struts();
Client *head = workspaces[current_ws];
int total = 0;
- Bool fullscreen_present = False;
for (Client *c = head; c; c = c->next) {
if (c->mapped && !c->floating && !c->fullscreen)
total++;
-
- if (!c->floating && c->fullscreen)
- fullscreen_present = True;
}
- if (total == 1 && fullscreen_present)
+ if (total == 0)
return;
if (monocle) {