diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-12-16 02:31:45 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-12-16 02:31:45 +0100 |
commit | eb3660a4d81ede493943c13cba959ea061f2d536 (patch) | |
tree | 7b586f3032ed0e43bb13bd07b1d79f2abba80489 | |
parent | ebd8c2726b8caac6adc00cf15c5631e51d05ba1f (diff) |
Add fstack-protector-all to gsr-global-hotkeys
-rw-r--r-- | meson.build | 3 | ||||
-rw-r--r-- | tools/gsr-global-hotkeys/main.c | 2 |
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; |