封装窗口焦点控制函数

This commit is contained in:
2025-11-25 06:10:42 +08:00
parent 2ccf2a3f53
commit b99b8368aa
4 changed files with 52 additions and 0 deletions

View File

@@ -15,3 +15,5 @@ visual_t *xwindow_get_xcb_visual(bool prefer_alpha);
void xwindow_change_cursor(xcb_window_t window, cursor_t cursor);
void xwindow_grab_keys(xcb_window_t window, const keyboard_t *keys,
int keys_length);
bool xwindow_send_event(xcb_window_t window, xcb_atom_t atom);
void xwindow_focus(xcb_window_t window);