X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fmodkeys.h;h=8e795f78a0978841dcfcbe1e1b05f3285f2a8809;hb=bafd9e9edcff0e18a03ef6f4e73d673e12a7c7ed;hp=cfa95b045f667e6eefa00ab536c2b09fdde9c8ef;hpb=7e946f68d9f8ec7c880664b437edbbaa5d49ac10;p=chaz%2Fopenbox diff --git a/openbox/modkeys.h b/openbox/modkeys.h index cfa95b04..8e795f78 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,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