From 8b68a96ee1410312575799353889a99a0eccd146 Mon Sep 17 00:00:00 2001 From: Quantum Date: Wed, 1 Jun 2022 21:03:26 -0400 Subject: [PATCH] [client] wayland: fix infinite resize loop The intention has been to keep wlWm.needsResize true when skipping resize, but I accidentally negated the value. --- client/displayservers/Wayland/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/displayservers/Wayland/gl.c b/client/displayservers/Wayland/gl.c index 200ccd9f..df5e4658 100644 --- a/client/displayservers/Wayland/gl.c +++ b/client/displayservers/Wayland/gl.c @@ -128,7 +128,7 @@ void waylandEGLSwapBuffers(EGLDisplay display, EGLSurface surface, const struct (struct Border) {0, 0, 0, 0}); app_invalidateWindow(true); waylandStopWaitFrame(); - wlWm.needsResize = !skipResize; + wlWm.needsResize = skipResize; } waylandShellAckConfigureIfNeeded();