Add remote commands support

This commit is contained in:
2025-10-29 17:27:23 +00:00
parent 11806119df
commit a21e716475
13 changed files with 238 additions and 115 deletions
+1 -6
View File
@@ -22,12 +22,7 @@ class Window
apply_geometry!
end
end
wm_hints = X.get_wm_hints(window_id)
if wm_hints
if wm_hints[:flags] & 1 != 0 && wm_hints[:initial_state] == 3
X.set_wm_state window_id, 1
end
end
X.set_wm_state window_id, 1
transient_for = X.get_wm_transient_for(window_id)
unless transient_for.zero?
@floating = true