summaryrefslogtreecommitdiff
path: root/openbox/modkeys.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-14 15:40:09 -0500
committerDana Jansens <danakj@orodu.net>2009-12-14 15:40:33 -0500
commitd55f4b41c6ebf00e36a5e91ddc962a753f6c9ef8 (patch)
tree3197682bebb144eb27c1f45c110cfec0e4005903 /openbox/modkeys.h
parentf3e553446fdcfc04f26ea25396a138965c4a999d (diff)
Allow the user to bind more than one keycode to a keysym for Ob Menus/Move/Resize
If the user has escape bound to more than one keycode then they can use any of them to close a menu. This change applies to the hardcoded keys in openbox, which are used for the menus and for move/resize, and maybe other places.
Diffstat (limited to 'openbox/modkeys.h')
-rw-r--r--openbox/modkeys.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/openbox/modkeys.h b/openbox/modkeys.h
index dc72f28e..8e795f78 100644
--- a/openbox/modkeys.h
+++ b/openbox/modkeys.h
@@ -53,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