diff options
author | Dave Davenport <m.l.p.j.koedam@tue.nl> | 2015-07-29 09:37:40 +0200 |
---|---|---|
committer | Dave Davenport <m.l.p.j.koedam@tue.nl> | 2015-07-29 09:37:40 +0200 |
commit | c68ab67dd88c48d0f2b61a7aff606104a86e71ca (patch) | |
tree | e2c63317e739af12d70140f78747889584def74e /include/x11-helper.h | |
parent | 681bd5bcbb17a9a5309aea2060b04b2ee5859821 (diff) |
Add some comments and cleanups, allow reeloading of keybindings at run-time
Diffstat (limited to 'include/x11-helper.h')
-rw-r--r-- | include/x11-helper.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/x11-helper.h b/include/x11-helper.h index 110b230d..4531dfa1 100644 --- a/include/x11-helper.h +++ b/include/x11-helper.h @@ -93,6 +93,15 @@ int take_keyboard ( Display *display, Window w ); void x11_grab_key ( Display *display, unsigned int modmask, KeySym key ); /** + * @param display Connection to the X server. + * @param modmask Modifier mask. + * @param key Key. + * + * Ungrab key on display. + */ +void x11_ungrab_key ( Display *display, unsigned int modmask, KeySym key ); + +/** * @param combo String representing the key combo * @param mod [out] The modifier specified (or AnyModifier if not specified) * @param key [out] The key specified |