summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--src/sxwm.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index afcd894..0e810da 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@
## Contributions & Issues
Please read [the contribution guide](docs/CONTRIBUTIONS.md)
+Please read [the developer docs](docs/sxwm-dev.md)
---
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;