[client] wayland: keep track of wl_output scale information

This will later be used to control the size of the underlying EGL buffers
in order to handle high DPI.
This commit is contained in:
Quantum
2021-02-20 22:48:48 -05:00
committed by Geoffrey McRae
parent e46cadb211
commit 6b26089353
5 changed files with 152 additions and 2 deletions

View File

@@ -97,6 +97,9 @@ static bool waylandInit(const LG_DSInitParams params)
if (!waylandPollInit())
return false;
if (!waylandOutputInit())
return false;
if (!waylandRegistryInit())
return false;
@@ -139,6 +142,7 @@ static void waylandFree(void)
waylandIdleFree();
waylandWindowFree();
waylandInputFree();
waylandOutputFree();
waylandRegistryFree();
wl_display_disconnect(wlWm.display);
}