Fix hotkeys not getting unbound correctly when unbinding them in the ui

This commit is contained in:
dec05eba
2025-11-20 12:09:51 +01:00
parent ed23f56a29
commit 0d3d4229bf
2 changed files with 3 additions and 1 deletions

2
TODO
View File

@@ -245,3 +245,5 @@ Show a question mark beside options. When hovering the question mark show a tool
Remove all mgl::Clock usage in Overlay. We only need to get the time once per update in Overlay::handle_events. Also get time in other places outside handle_events.
Handle stopping replay/stream when recording is running (show notification that the video is saved and move the video to folder with game name).
Support translations.

View File

@@ -193,7 +193,7 @@ namespace gsr {
return false;
}
if(hotkey.key == 0) {
if(hotkey.key == 0 || hotkey.key == XK_VoidSymbol) {
//fprintf(stderr, "Error: GlobalHotkeysLinux::bind_key_press: hotkey requires a key\n");
return false;
}