diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-02-21 13:10:32 +0100 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-02-21 16:04:53 +0100 |
commit | e1f87a67b4352ad60b4fc0291a121515fe7f15d3 (patch) | |
tree | 75306214dba8f20590c2a8f8a8bb17400c21750d /include/textbox.h | |
parent | fe7ca2079d97172980f0bc725f532019fc9b7eb5 (diff) |
rofi: Migrate to libxkbcommon
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/textbox.h')
-rw-r--r-- | include/textbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/textbox.h b/include/textbox.h index c4caa7ca..b1a40670 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -1,6 +1,7 @@ #ifndef ROFI_TEXTBOX_H #define ROFI_TEXTBOX_H +#include <xkbcommon/xkbcommon.h> #include <X11/Xutil.h> #include <pango/pango.h> #include <pango/pango-fontmap.h> @@ -113,7 +114,7 @@ void textbox_draw ( textbox *tb, cairo_t *draw ); * * @returns if the key was handled (1), unhandled(0) or handled and return was pressed (-1) */ -int textbox_keypress ( textbox *tb, xcb_key_press_event_t *ev, char *pad, int pad_len, KeySym key, Status stat ); +int textbox_keypress ( textbox *tb, xcb_key_press_event_t *ev, char *pad, int pad_len, xkb_keysym_t key ); /** * @param tb Handle to the textbox |