summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-02-21 13:10:32 +0100
committerQuentin Glidic <sardemff7+git@sardemff7.net>2016-02-21 16:04:53 +0100
commite1f87a67b4352ad60b4fc0291a121515fe7f15d3 (patch)
tree75306214dba8f20590c2a8f8a8bb17400c21750d /include/rofi.h
parentfe7ca2079d97172980f0bc725f532019fc9b7eb5 (diff)
rofi: Migrate to libxkbcommon
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/rofi.h')
-rw-r--r--include/rofi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rofi.h b/include/rofi.h
index 411acb37..252850d5 100644
--- a/include/rofi.h
+++ b/include/rofi.h
@@ -1,6 +1,7 @@
#ifndef ROFI_MAIN_H
#define ROFI_MAIN_H
#include <xcb/xcb.h>
+#include <xkbcommon/xkbcommon.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <glib.h>
@@ -45,7 +46,7 @@ const Mode * rofi_get_mode ( unsigned int index );
* @return the index of the switcher that matches the key combination
* specified by key and modstate. Returns -1 if none was found
*/
-int locate_switcher ( KeySym key, unsigned int modstate );
+int locate_switcher ( xkb_keysym_t key, unsigned int modstate );
void rofi_set_return_code ( int code );
/** Reset terminal */