[client] core: check if the resolution already matches the window

This commit is contained in:
Geoffrey McRae committed 2025-04-02 14:03:48 +11:00
1 parent 81162b460e
commit d8baa62c6a
1 file changed
+5 -2
+5 -2
View File
@@ -195,11 +195,14 @@ void core_onWindowSizeChanged(unsigned width, unsigned height)
if (!g_state.pointerQueue)
return;
if (g_state.srcSize.x == width && g_state.srcSize.y == height)
return;
const KVMFRWindowSize msg =
{
.msg.type = KVMFR_MESSAGE_WINDOWSIZE,
.w = g_state.windowW,
.h = g_state.windowH
.w = width,
.h = height
};
uint32_t serial;