From f036fcbc0ff56dbab185d42c40f748e9c097bf22 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 24 Jan 2025 00:42:33 +0100 Subject: Add 'restart replay on save' option --- tools/gsr-global-hotkeys/keyboard_event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/gsr-global-hotkeys/keyboard_event.c') diff --git a/tools/gsr-global-hotkeys/keyboard_event.c b/tools/gsr-global-hotkeys/keyboard_event.c index 261dc57..b8d94fd 100644 --- a/tools/gsr-global-hotkeys/keyboard_event.c +++ b/tools/gsr-global-hotkeys/keyboard_event.c @@ -638,13 +638,13 @@ static void keyboard_event_parse_stdin_command(keyboard_event *self, const char .modifiers = modifiers }; ++self->num_global_hotkeys; - fprintf(stderr, "Info: bound hotkey: %s\n", action); + fprintf(stderr, "Info: binded hotkey: %s\n", action); } else if(strncmp(command, "unbind_all", 10) == 0) { for(int i = 0; i < self->num_global_hotkeys; ++i) { free(self->global_hotkeys[i].action); } self->num_global_hotkeys = 0; - fprintf(stderr, "Info: unbound all hotkeys\n"); + fprintf(stderr, "Info: unbinded all hotkeys\n"); } else { fprintf(stderr, "Warning: got invalid command: \"%s\", expected command to start with either \"bind\" or \"unbind_all\"\n", command); } -- cgit v1.2.3