From a25cbc1ef6bad242a30e304d7e5ff61d1481bd3c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 8 Dec 2024 03:14:00 +0100 Subject: Fix window creation on wayland --- src/window/window_wayland.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window/window_wayland.c b/src/window/window_wayland.c index b5557ee..3a82bfa 100644 --- a/src/window/window_wayland.c +++ b/src/window/window_wayland.c @@ -210,6 +210,8 @@ static bool gsr_window_wayland_init(gsr_window_wayland *self) { goto fail; } + return true; + fail: gsr_window_wayland_deinit(self); return false; -- cgit v1.2.3