From 86d89c3ac2ff1fe9d9cda02dd5f5ee9453f96f15 Mon Sep 17 00:00:00 2001 From: Abhinav Prasai Date: Sat, 11 Oct 2025 15:01:22 +0100 Subject: add developer docs notice, keep floating fullscreen windows .floating=True --- README.md | 1 + src/sxwm.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3