summaryrefslogtreecommitdiffstats
path: root/include/x11-helper.h
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-04-07 20:28:40 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2016-05-07 11:31:04 +0200
commit67b0ce036f19fa0caa95461ab213717237b279dd (patch)
tree58070e5a8cc1c07e0bcffa2c42229105445fa087 /include/x11-helper.h
parent20791d4a71f2cca4f7388d69ea2afdad03737eab (diff)
keybindings: Implement on-release bindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/x11-helper.h')
-rw-r--r--include/x11-helper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/x11-helper.h b/include/x11-helper.h
index c6704ff4..ef761bd9 100644
--- a/include/x11-helper.h
+++ b/include/x11-helper.h
@@ -81,6 +81,8 @@ int take_keyboard ( xcb_window_t w );
*/
unsigned int x11_canonalize_mask ( unsigned int mask );
+unsigned int x11_get_current_mask ( xkb_stuff *xkb );
+
/**
* @param combo String representing the key combo
* @param mod [out] The modifier specified (or AnyModifier if not specified)
@@ -88,7 +90,7 @@ unsigned int x11_canonalize_mask ( unsigned int mask );
*
* Parse key from user input string.
*/
-gboolean x11_parse_key ( char *combo, unsigned int *mod, xkb_keysym_t *key );
+gboolean x11_parse_key ( char *combo, unsigned int *mod, xkb_keysym_t *key, gboolean *release );
/**
* @param display The connection to the X server.