From 23b773ad80ad1498e1382ffaa625abc691d3c4b4 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 27 Mar 2024 01:57:01 +1100 Subject: [PATCH] [client] wayland: fix failure to select libdecor Fixes #1116 - Thanks @blu3bird --- client/displayservers/Wayland/wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/displayservers/Wayland/wayland.c b/client/displayservers/Wayland/wayland.c index aa8c632b..33d21889 100644 --- a/client/displayservers/Wayland/wayland.c +++ b/client/displayservers/Wayland/wayland.c @@ -121,7 +121,7 @@ static bool waylandInit(const LG_DSInitParams params) for(int i = 0; i < WL_DESKTOP_COUNT; ++i) if (strcmp(WL_Desktops[i]->compositor, compositor) == 0) { - wlWm.desktop = WL_Desktops[0]; + wlWm.desktop = WL_Desktops[i]; break; } }