From eb3660a4d81ede493943c13cba959ea061f2d536 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 16 Dec 2024 02:31:45 +0100 Subject: Add fstack-protector-all to gsr-global-hotkeys --- meson.build | 3 ++- 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; -- cgit v1.2.3