显示窗口

This commit is contained in:
2025-11-27 07:53:28 +08:00
parent fc1f1455c1
commit 42ee022a0e
6 changed files with 200 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ 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);
char *xwindow_get_text_property(xcb_window_t window, xcb_atom_t property);
#define xwindow_set_name_static(window, name) \
xcb_icccm_set_wm_name(wm.xcb_conn, window, XCB_ATOM_STRING, 8, \