summaryrefslogtreecommitdiff
path: root/src/x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/x.h')
-rw-r--r--src/x.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/x.h b/src/x.h
index 632a7a4..f4b69bc 100644
--- a/src/x.h
+++ b/src/x.h
@@ -15,9 +15,12 @@ typedef struct {
Server_context_t *init_XCB_server();
xcb_window_t create_win(Server_context_t *info);
-xcb_cursor_t cursor_set(xcb_connection_t *c, xcb_screen_t *scr, xcb_window_t win, u32 cid);
+xcb_cursor_t cursor_set(xcb_connection_t *c, xcb_window_t win, u32 cid);
void cursor_die(xcb_connection_t *c, xcb_window_t win, u32 value_list);
const char *ksym_to_str(const xcb_keysym_t *ksym);
void die(xcb_key_symbols_t *sym, Server_context_t *s_info, xcb_drawable_t win);
+xcb_window_t get_focused_win(xcb_connection_t *con);
+xcb_atom_t get_atom(xcb_connection_t *c, const char *atom_name);
+void xcb_set_win_name(xcb_connection_t *c, xcb_window_t w, const char *title);
#endif