diff options
Diffstat (limited to '')
-rw-r--r-- | src/hotkey.c | 3 | ||||
-rw-r--r-- | src/hotkey.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/hotkey.c b/src/hotkey.c index 1267ea3..8e3949b 100644 --- a/src/hotkey.c +++ b/src/hotkey.c @@ -86,8 +86,7 @@ compare_ctrl(struct hotkey *a, struct hotkey *b) } } -internal inline bool -same_hotkey(struct hotkey *a, struct hotkey *b) +bool same_hotkey(struct hotkey *a, struct hotkey *b) { if(a && b) { return compare_cmd(a, b) && diff --git a/src/hotkey.h b/src/hotkey.h index 614665d..b4d864d 100644 --- a/src/hotkey.h +++ b/src/hotkey.h @@ -71,6 +71,9 @@ clear_flags(struct hotkey *hotkey, uint32_t flag) hotkey->flags &= ~flag; } +bool same_hotkey(struct hotkey *a, struct hotkey *b); +unsigned long hash_hotkey(struct hotkey *a); + bool find_and_exec_hotkey(struct hotkey *eventkey, struct table *hotkey_map); void cgeventflags_to_hotkeyflags(CGEventFlags flags, struct hotkey *eventkey); |