mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-06-07 15:24:27 +00:00
[client] core: resize guest to actual surface size
This ensures that the guest renders with the actual screen size when the client surface is scaled when using automatic scaling.
This commit is contained in:
@@ -221,8 +221,8 @@ void core_updatePositionInfo(void)
|
||||
.type = LG_MSG_WINDOWSIZE,
|
||||
.windowSize =
|
||||
{
|
||||
.width = g_state.windowW,
|
||||
.height = g_state.windowH
|
||||
.width = round(g_state.windowW * g_state.windowScale),
|
||||
.height = round(g_state.windowH * g_state.windowScale)
|
||||
}
|
||||
};
|
||||
lgMessage_post(&msg);
|
||||
|
||||
Reference in New Issue
Block a user