aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4a4d0fc..598cc97 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4064,7 +4064,7 @@ static void activate(GtkApplication *app, gpointer) {
if(gsr_info.system_info.display_server == DisplayServer::WAYLAND) {
if(!gsr_global_shortcuts_init(&global_shortcuts, init_shortcuts_callback, NULL)) {
fprintf(stderr, "gsr error: failed to initialize global shortcuts\n");
- global_shortcuts_initialized = false;
+ init_shortcuts_callback(false, nullptr);
}
}
}