diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-19 22:51:48 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-19 22:51:48 +0200 |
commit | d99f9dc2645a443649965c44026f80631561f2b3 (patch) | |
tree | 9c325fbf096ad4a1496c16ba739b0b8e3e5277dc /src/global_shortcuts.h | |
parent | 0e5c1a940cd4ff4291aea97972671d331d10f694 (diff) |
Dont show global hotkeys on wayland if not supported
Diffstat (limited to 'src/global_shortcuts.h')
-rw-r--r-- | src/global_shortcuts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global_shortcuts.h b/src/global_shortcuts.h index f27a4de..087c177 100644 --- a/src/global_shortcuts.h +++ b/src/global_shortcuts.h @@ -18,7 +18,7 @@ typedef struct { gsr_shortcut shortcut; } gsr_bind_shortcut; -typedef void (*gsr_init_callback)(void *userdata); +typedef void (*gsr_init_callback)(bool success, void *userdata); typedef void (*gsr_shortcut_callback)(gsr_shortcut shortcut, void *userdata); typedef void (*gsr_deactivated_callback)(const char *id, void *userdata); |