[client] wayland: fix infinite resize loop

The intention has been to keep wlWm.needsResize true when skipping
resize, but I accidentally negated the value.
This commit is contained in:
Quantum 2022-06-01 21:03:26 -04:00 committed by Guanzhong Chen
parent cb29de80f9
commit 8b68a96ee1

View File

@ -128,7 +128,7 @@ void waylandEGLSwapBuffers(EGLDisplay display, EGLSurface surface, const struct
(struct Border) {0, 0, 0, 0}); (struct Border) {0, 0, 0, 0});
app_invalidateWindow(true); app_invalidateWindow(true);
waylandStopWaitFrame(); waylandStopWaitFrame();
wlWm.needsResize = !skipResize; wlWm.needsResize = skipResize;
} }
waylandShellAckConfigureIfNeeded(); waylandShellAckConfigureIfNeeded();