mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user