[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:
1 parent
3aa6492760
commit
a164c02f9a
1 file changed
+2
-2
+2
-2
@@ -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