summaryrefslogtreecommitdiffstats
path: root/include/keyb.h
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-04-07 15:32:22 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2016-05-07 11:25:04 +0200
commit54f85fabaa063bfb523f12bbfbc083c74dd83827 (patch)
treef74435f83e0916ccc19908a1b633f4e6d37651a7 /include/keyb.h
parent65447b496adc2cc736ec83e56e4b14613496e006 (diff)
keybindings: Rework the matching
Now we check all bindings in one place, allowing for future naughty matching. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/keyb.h')
-rw-r--r--include/keyb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/keyb.h b/include/keyb.h
index 6dd201ad..e7128498 100644
--- a/include/keyb.h
+++ b/include/keyb.h
@@ -95,10 +95,10 @@ void setup_abe ( void );
void cleanup_abe ( void );
/**
- * Check if this key has been triggered.
- * @returns TRUE if key combo matches, FALSE otherwise.
+ * Find if a binding has been triggered.
+ * @returns NUM_ABE if no key combo matches, a valid action otherwise.
*/
-int abe_test_action ( KeyBindingAction action, unsigned int mask, xkb_keysym_t key );
+KeyBindingAction abe_find_action ( unsigned int mask, xkb_keysym_t key );
/*@}*/
#endif // ROFI_KEYB_H