summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhinav Prasai <abhinav.prsai@gmail.com>2025-10-11 15:01:22 +0100
committerAbhinav Prasai <abhinav.prsai@gmail.com>2025-10-11 15:01:22 +0100
commit86d89c3ac2ff1fe9d9cda02dd5f5ee9453f96f15 (patch)
treebf22c9f72c680d7f0e892a69d4826270fe077217
parent52abc8da0d34e56743e51084004347dc5223645f (diff)
add developer docs notice, keep floating fullscreen windows .floating=True
-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;