[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
2026-06-03 20:39:30 -04:00
committed by Geoffrey McRae
parent 3aa6492760
commit a164c02f9a

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);