summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-02-23 10:44:36 +0100
committerQuentin Glidic <sardemff7+git@sardemff7.net>2016-02-23 17:34:31 +0100
commit3029e05ac739cbfe026c997463dc4a57fd97a25e (patch)
tree02728d6359c1c4c6113a207aeda997a1715f58a3 /include
parent590e61b4174cf7dfac1ec9520c3a9a8b8a0bbf1d (diff)
keybindings: Rework modmask matching
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include')
-rw-r--r--include/x11-helper.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/x11-helper.h b/include/x11-helper.h
index 496e5453..6e4a9d29 100644
--- a/include/x11-helper.h
+++ b/include/x11-helper.h
@@ -100,6 +100,13 @@ void release_keyboard ( Display *display );
int take_keyboard ( Display *display, Window w );
/**
+ * @param mask The mask to canonilize
+ *
+ * @return The canonilized mask
+ */
+unsigned int x11_canonalize_mask ( unsigned int mask );
+
+/**
* @param combo String representing the key combo
* @param mod [out] The modifier specified (or AnyModifier if not specified)
* @param key [out] The key specified