aboutsummaryrefslogtreecommitdiff
path: root/src/hotkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hotkey.h')
-rw-r--r--src/hotkey.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/hotkey.h b/src/hotkey.h
index b0ca504..59ee243 100644
--- a/src/hotkey.h
+++ b/src/hotkey.h
@@ -66,12 +66,6 @@ struct hotkey
struct mode **mode_list;
};
-struct systemkey
-{
- struct hotkey eventkey;
- bool intercept;
-};
-
static inline void
add_flags(struct hotkey *hotkey, uint32_t flag)
{
@@ -98,7 +92,7 @@ bool same_hotkey(struct hotkey *a, struct hotkey *b);
unsigned long hash_hotkey(struct hotkey *a);
struct hotkey create_eventkey(CGEventRef event);
-struct systemkey create_systemkey(CGEventRef event);
+bool intercept_systemkey(CGEventRef event, struct hotkey *eventkey);
bool find_and_exec_hotkey(struct hotkey *eventkey, struct table *mode_map, struct mode **current_mode);
void free_mode_map(struct table *mode_map);