Add remote commands support
This commit is contained in:
+1
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user