diff --git a/client/src/main.c b/client/src/main.c index b0471500..adf28d74 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -160,10 +160,13 @@ static int renderThread(void * unused) const uint64_t now = microtime(); if (!g_state.resizeDone && g_state.resizeTimeout < now) { - g_state.ds->setWindowSize( - g_state.dstRect.w, - g_state.dstRect.h - ); + if (g_params.autoResize) + { + g_state.ds->setWindowSize( + g_state.dstRect.w, + g_state.dstRect.h + ); + } g_state.resizeDone = true; }