aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-08 03:14:00 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-08 03:14:00 +0100
commita25cbc1ef6bad242a30e304d7e5ff61d1481bd3c (patch)
tree5d7a53c86e468d4880367c433b4813f6ec078b5a /src/window
parentd138a1fe73a596e50652ea4880ad7977e6a0922e (diff)
Fix window creation on wayland
Diffstat (limited to 'src/window')
-rw-r--r--src/window/window_wayland.c2
1 files changed, 2 insertions, 0 deletions
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;