diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | src/sxwm.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -12,6 +12,7 @@ ## Contributions & Issues Please read [the contribution guide](docs/CONTRIBUTIONS.md) +Please read [the developer docs](docs/sxwm-dev.md) --- @@ -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; |
