[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 authored and Guanzhong Chen committed 2022-06-01 22:41:20 -04:00
1 parent cb29de80f9
commit 8b68a96ee1
1 file changed
+1 -1
+1 -1
View File
@@ -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();