summaryrefslogtreecommitdiff
path: root/openbox/modkeys.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/modkeys.h')
-rw-r--r--openbox/modkeys.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/modkeys.h b/openbox/modkeys.h
index cfa95b04..8f222369 100644
--- a/openbox/modkeys.h
+++ b/openbox/modkeys.h
@@ -20,6 +20,7 @@
#define ob__modkeys_h
#include <glib.h>
+#include <X11/Xlib.h>
/*! These keys are bound to the modifier masks in any fashion */
typedef enum {
@@ -51,4 +52,8 @@ guint modkeys_only_modifier_masks(guint mask);
right keys when there are both. */
guint modkeys_key_to_mask(ObModkeysKey key);
+/*! Convert a KeySym to a KeyCode, because the X function is terrible - says
+ valgrind. */
+KeyCode modkeys_sym_to_code(KeySym sym);
+
#endif