diff --git a/client/src/main.c b/client/src/main.c index a2d3595c..8a110136 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1453,6 +1453,10 @@ void app_handleResizeEvent(int w, int h) &g_state.border.w ); + /* don't do anything else if the window dimensions have not changed */ + if (g_state.windowW == w && g_state.windowH == h) + return; + g_state.windowW = w; g_state.windowH = h; g_state.windowCX = w / 2;