处理 property_notify 事件

This commit is contained in:
2025-08-24 12:44:15 +08:00
parent 165dd0733c
commit 8f892633cc
5 changed files with 63 additions and 14 deletions

View File

@@ -103,7 +103,9 @@ typedef enum atom_t {
atom_wm_protocols,
atom_wm_delete,
atom_wm_take_focus,
atom_net_wm_name,
} atom_t;
xcb_atom_t get_xcb_atom(atom_t atom);
bool send_event(xcb_window_t window, atom_t atom);
typedef enum wm_state_t {
wm_state_withdrawn = 0,