aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build3
-rw-r--r--tools/gsr-global-hotkeys/main.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 9aacae9..b83070c 100644
--- a/meson.build
+++ b/meson.build
@@ -68,6 +68,7 @@ executable(
'tools/gsr-global-hotkeys/keyboard_event.c',
'tools/gsr-global-hotkeys/main.c'
],
+ c_args : '-fstack-protector-all',
install : true
)
@@ -80,4 +81,4 @@ endif
if get_option('capabilities') == true
meson.add_install_script('meson_post_install.sh')
-endif \ No newline at end of file
+endif
diff --git a/tools/gsr-global-hotkeys/main.c b/tools/gsr-global-hotkeys/main.c
index 1be7f2d..1b2dc4a 100644
--- a/tools/gsr-global-hotkeys/main.c
+++ b/tools/gsr-global-hotkeys/main.c
@@ -9,7 +9,7 @@
typedef struct {
uint32_t key;
- uint32_t modifiers; /* modkeys */
+ uint32_t modifiers; /* keyboard_modkeys bitmask */
const char *action;
} global_hotkey;