diff options
| author | Abhinav Prasai <abhinav.prsai@gmail.com> | 2025-08-27 16:19:03 +0100 |
|---|---|---|
| committer | Abhinav Prasai <abhinav.prsai@gmail.com> | 2025-08-28 09:54:09 +0100 |
| commit | 0542d960d82e74552ecbae37cf40314981e3982b (patch) | |
| tree | d5ab2cba61c771e1f20bdd432c8e52413042fcfb /src/sxwm.c | |
| parent | cf361ebd2a95ad5f62249c37223b59dc0c3e12c7 (diff) | |
fix fixed windows not being set
problem: removed the c->fixed/floating = True;
fix: added it back
Diffstat (limited to 'src/sxwm.c')
| -rw-r--r-- | src/sxwm.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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)) { |
