[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:
Quantum authored and Geoffrey McRae committed 2026-06-06 02:31:44 +10:00
1 parent 3aa6492760
commit a164c02f9a
1 file changed
+2 -2
+2 -2
View File
@@ -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);