[client] config: add option to disable auto client resolution switching

This commit is contained in:
Geoffrey McRae
2025-04-04 10:13:19 +11:00
parent c2a19f5e76
commit 9593301511
3 changed files with 11 additions and 1 deletions

View File

@@ -192,7 +192,7 @@ bool core_warpPointer(int x, int y, bool exiting)
void core_onWindowSizeChanged(unsigned width, unsigned height)
{
if (!g_state.pointerQueue)
if (!g_params.setGuestRes || !g_state.pointerQueue)
return;
if (g_state.srcSize.x == width && g_state.srcSize.y == height)