[plasma/kwin] autotests/integration: autotests: Add missing ack_configure in XdgShellWindowTest
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 6602f26c2c99b76591039d764fbf2ef3a1eae62e by Vlad Zahorodnii.
Committed on 03/08/2026 at 13:24.
Pushed by vladz into branch 'master'.
autotests: Add missing ack_configure in XdgShellWindowTest
M +2 -0 autotests/integration/xdgshellwindow_test.cpp
https://invent.kde.org/plasma/kwin/-/commit/6602f26c2c99b76591039d764fbf2ef3a1eae62e
diff --git a/autotests/integration/xdgshellwindow_test.cpp b/autotests/integration/xdgshellwindow_test.cpp
index 7a66e107c68..d97c51e9503 100644
--- a/autotests/integration/xdgshellwindow_test.cpp
+++ b/autotests/integration/xdgshellwindow_test.cpp
@@ -1392,6 +1392,7 @@ void TestXdgShellWindow::testXdgWindowGeometryFullScreen()
QSignalSpy surfaceConfigureRequestedSpy(shellSurface->xdgSurface(), &Test::XdgSurface::configureRequested);
QVERIFY(surfaceConfigureRequestedSpy.wait());
QCOMPARE(surfaceConfigureRequestedSpy.count(), 1);
+ shellSurface->xdgSurface()->ack_configure(surfaceConfigureRequestedSpy.last().at(0).value<quint32>());
QSignalSpy frameGeometryChangedSpy(window, &Window::frameGeometryChanged);
shellSurface->xdgSurface()->set_window_geometry(10, 10, 180, 80);
@@ -1447,6 +1448,7 @@ void TestXdgShellWindow::testXdgWindowGeometryMaximize()
QSignalSpy surfaceConfigureRequestedSpy(shellSurface->xdgSurface(), &Test::XdgSurface::configureRequested);
QVERIFY(surfaceConfigureRequestedSpy.wait());
QCOMPARE(surfaceConfigureRequestedSpy.count(), 1);
+ shellSurface->xdgSurface()->ack_configure(surfaceConfigureRequestedSpy.last().at(0).value<quint32>());
QSignalSpy frameGeometryChangedSpy(window, &Window::frameGeometryChanged);
shellSurface->xdgSurface()->set_window_geometry(10, 10, 180, 80);