]> Dogcows Code - chaz/openbox/blobdiff - openbox/modkeys.h
make Home and End keys navigate to top/bottom of the active menu
[chaz/openbox] / openbox / modkeys.h
index cfa95b045f667e6eefa00ab536c2b09fdde9c8ef..8e795f78a0978841dcfcbe1e1b05f3285f2a8809 100644 (file)
 #define ob__modkeys_h
 
 #include <glib.h>
+#include <X11/Xlib.h>
 
-/*! These keys are bound to the modifier masks in any fashion */
+/*! These keys are bound to the modifier masks in any fashion,
+  except for CapsLock, Shift, and Control. */
 typedef enum {
     OB_MODKEY_KEY_CAPSLOCK,
     OB_MODKEY_KEY_NUMLOCK,
@@ -51,4 +53,7 @@ guint modkeys_only_modifier_masks(guint mask);
   right keys when there are both. */
 guint modkeys_key_to_mask(ObModkeysKey key);
 
+/*! Convert a KeySym to all the KeyCodes which generate it. */
+KeyCode* modkeys_sym_to_code(KeySym sym);
+
 #endif
This page took 0.02229 seconds and 4 git commands to generate.