From 0542d960d82e74552ecbae37cf40314981e3982b Mon Sep 17 00:00:00 2001 From: Abhinav Prasai Date: Wed, 27 Aug 2025 16:19:03 +0100 Subject: fix fixed windows not being set problem: removed the c->fixed/floating = True; fix: added it back --- src/sxwm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sxwm.c b/src/sxwm.c index 1dca057..c8f67d7 100644 --- a/src/sxwm.c +++ b/src/sxwm.c @@ -152,7 +152,6 @@ Atom _NET_WM_WINDOW_TYPE_TOOLTIP; Atom _NET_WM_WINDOW_TYPE_NOTIFICATION; Atom _NET_WM_STATE_MODAL; - Cursor cursor_normal; Cursor cursor_move; Cursor cursor_resize; @@ -1144,6 +1143,11 @@ void hdl_map_req(XEvent *xev) size_hints.min_height == size_hints.max_height) { should_float = True; + c->fixed = True; + } + + if (should_float || global_floating) { + c->floating = True; } if (window_should_start_fullscreen(w)) { -- cgit v1.2.3