]> Dogcows Code - chaz/openbox/blobdiff - openbox/modkeys.h
have stacking_restack_request return a bool that says if it did something with TopIf...
[chaz/openbox] / openbox / modkeys.h
index cfa95b045f667e6eefa00ab536c2b09fdde9c8ef..8f2223697d2845ed7dbb1e23d2546b85edbab60c 100644 (file)
@@ -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
This page took 0.01969 seconds and 4 git commands to generate.