X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmodkeys.h;h=dc72f28e442bf7b898e5339e3488ee9b88117062;hb=c38a756ae50616b1431e3137141189a5588654a0;hp=cfa95b045f667e6eefa00ab536c2b09fdde9c8ef;hpb=7e946f68d9f8ec7c880664b437edbbaa5d49ac10;p=chaz%2Fopenbox diff --git a/openbox/modkeys.h b/openbox/modkeys.h index cfa95b04..dc72f28e 100644 --- a/openbox/modkeys.h +++ b/openbox/modkeys.h @@ -20,8 +20,10 @@ #define ob__modkeys_h #include +#include -/*! 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,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