X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fmodkeys.h;h=8e795f78a0978841dcfcbe1e1b05f3285f2a8809;hb=bafd9e9edcff0e18a03ef6f4e73d673e12a7c7ed;hp=8f2223697d2845ed7dbb1e23d2546b85edbab60c;hpb=36ddd0c4086652bfb65d3b3034640e349d5c991b;p=chaz%2Fopenbox diff --git a/openbox/modkeys.h b/openbox/modkeys.h index 8f222369..8e795f78 100644 --- a/openbox/modkeys.h +++ b/openbox/modkeys.h @@ -22,7 +22,8 @@ #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, @@ -52,8 +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 a KeyCode, because the X function is terrible - says - valgrind. */ -KeyCode modkeys_sym_to_code(KeySym sym); +/*! Convert a KeySym to all the KeyCodes which generate it. */ +KeyCode* modkeys_sym_to_code(KeySym sym); #endif