Add fstack-protector-all to gsr-global-hotkeys

This commit is contained in:
dec05eba
2024-12-16 02:31:45 +01:00
parent ebd8c2726b
commit eb3660a4d8
2 changed files with 3 additions and 2 deletions

View File

@@ -68,6 +68,7 @@ executable(
'tools/gsr-global-hotkeys/keyboard_event.c', 'tools/gsr-global-hotkeys/keyboard_event.c',
'tools/gsr-global-hotkeys/main.c' 'tools/gsr-global-hotkeys/main.c'
], ],
c_args : '-fstack-protector-all',
install : true install : true
) )

View File

@@ -9,7 +9,7 @@
typedef struct { typedef struct {
uint32_t key; uint32_t key;
uint32_t modifiers; /* modkeys */ uint32_t modifiers; /* keyboard_modkeys bitmask */
const char *action; const char *action;
} global_hotkey; } global_hotkey;