diff options
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 |