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
+3 -1
View File
@@ -60,6 +60,7 @@ module X
:window_group, :xcb_window_t
end
attach_function :flush, [], :void
attach_function :deploy, [], :int
attach_function :add_keybind, [:int, :int], :void
attach_function :add_mousebind, [:int, :int], :void
@@ -79,7 +80,8 @@ module X
attach_function :warp_pointer, [:xcb_window_t, :int, :int], :void
attach_function :move_window, [:xcb_window_t, :int, :int], :void
attach_function :resize_window, [:xcb_window_t, :int, :int], :void
attach_function :wait_for_event, [], Event.by_value
attach_function :translate_event, [:pointer], Event.by_value
attach_function :next_event, [], :pointer
attach_function :get_wm_name, [:xcb_window_t], :string
attach_function :get_wm_n_hints, [:xcb_window_t], SizeHints.by_value
attach_function :get_wm_hints, [:xcb_window_t], WMHints.by_value