mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
[client] wayland: add additional debug output
This commit is contained in:
parent
aa9dbe654d
commit
174b51b144
@ -117,6 +117,7 @@ static bool waylandInit(const LG_DSInitParams params)
|
||||
char compositor[1024];
|
||||
if (getCompositor(compositor, sizeof(compositor)))
|
||||
{
|
||||
DEBUG_INFO("Compositor: %s", compositor);
|
||||
for(int i = 0; i < WL_DESKTOP_COUNT; ++i)
|
||||
if (strcmp(WL_Desktops[i]->compositor, compositor) == 0)
|
||||
{
|
||||
@ -124,7 +125,9 @@ static bool waylandInit(const LG_DSInitParams params)
|
||||
break;
|
||||
}
|
||||
}
|
||||
DEBUG_INFO("Using %s", wlWm.desktop->name);
|
||||
else
|
||||
DEBUG_WARN("Compositor: UNKNOWN");
|
||||
DEBUG_INFO("Selected : %s", wlWm.desktop->name);
|
||||
|
||||
wl_list_init(&wlWm.surfaceOutputs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user