[client] wayland: fix failure to select libdecor

Fixes #1116 - Thanks @blu3bird
This commit is contained in:
Geoffrey McRae 2024-03-27 01:57:01 +11:00
parent a626a1142d
commit 23b773ad80

View file

@ -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;
}
}