From 10082428749fabb69db1556f19940d8700ce48a2 Mon Sep 17 00:00:00 2001 From: Ma <101021254+CodeWithMa@users.noreply.github.com> Date: Tue, 5 Mar 2024 19:35:50 +0100 Subject: [PATCH] Only enable global hotkeys if not running on wayland (#18) This is a temporal solution to avoid crashes on Wayland. See #19 --- urn-gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urn-gtk.c b/urn-gtk.c index b0693c2..8fcfe36 100644 --- a/urn-gtk.c +++ b/urn-gtk.c @@ -501,7 +501,7 @@ static void urn_app_window_init(UrnAppWindow *win) { G_CALLBACK(urn_app_window_resize), win ); - if (win->global_hotkeys) { + if (win->global_hotkeys && getenv("WAYLAND_DISPLAY") == NULL) { keybinder_init(); keybinder_bind( g_settings_get_string(settings, "keybind-start-split"),