summaryrefslogtreecommitdiff
path: root/xcb.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2012-10-26 20:24:55 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-10-26 20:39:59 +0200
commite1d86a327945111b99148650dc536c9ad8598cc1 (patch)
treef120f2e29e47cfa7eb494f811c3282449cf3d720 /xcb.h
parent1d08065fe02304f078c9b34250148777f3d0a734 (diff)
use libxkbcommon for input handling
Thanks to Ran Benita and Daniel Stone (the libxkbcommon authors) for answering my questions and reviewing this code. With this commit, input handling should be more correct with using less code (in i3lock, that is).
Diffstat (limited to 'xcb.h')
-rw-r--r--xcb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xcb.h b/xcb.h
index a578679..7941980 100644
--- a/xcb.h
+++ b/xcb.h
@@ -2,7 +2,6 @@
#define _XCB_H
#include <xcb/xcb.h>
-#include <xcb/xcb_keysyms.h>
extern xcb_connection_t *conn;
extern xcb_screen_t *screen;
@@ -11,7 +10,6 @@ xcb_visualtype_t *get_root_visual_type(xcb_screen_t *s);
xcb_pixmap_t create_bg_pixmap(xcb_connection_t *conn, xcb_screen_t *scr, u_int32_t *resolution, char *color);
xcb_window_t open_fullscreen_window(xcb_connection_t *conn, xcb_screen_t *scr, char *color, xcb_pixmap_t pixmap);
void grab_pointer_and_keyboard(xcb_connection_t *conn, xcb_screen_t *screen, xcb_cursor_t cursor);
-uint32_t get_mod_mask(xcb_connection_t *conn, xcb_key_symbols_t *symbols, uint32_t keycode);
void dpms_turn_off_screen(xcb_connection_t *conn);
xcb_cursor_t create_cursor(xcb_connection_t *conn, xcb_screen_t *screen, xcb_window_t win, int choice);