summaryrefslogtreecommitdiff
path: root/src/sxwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sxwm.c')
-rw-r--r--src/sxwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index f9f7b65..f029bb3 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -311,6 +311,7 @@ void apply_fullscreen(Client *c, Bool on)
return;
}
+
if (on) {
XWindowAttributes win_attr;
XGetWindowAttributes(dpy, c->win, &win_attr);
@@ -320,7 +321,6 @@ void apply_fullscreen(Client *c, Bool on)
c->orig_w = win_attr.width;
c->orig_h = win_attr.height;
- c->floating = False;
c->fullscreen = True;
int mon = c->mon;