diff --git a/autotests/integration/maximize_test.cpp b/autotests/integration/maximize_test.cpp --- a/autotests/integration/maximize_test.cpp +++ b/autotests/integration/maximize_test.cpp @@ -174,7 +174,6 @@ QCOMPARE(client->geometry(), QRect(0, 0, 100, 50)); QEXPECT_FAIL("", "Should go out of maximzied", Continue); QCOMPARE(client->maximizeMode(), MaximizeMode::MaximizeRestore); - QVERIFY(client->shellSurface()->isMaximized()); } void TestMaximized::testBorderlessMaximizedWindow() diff --git a/shell_client.h b/shell_client.h --- a/shell_client.h +++ b/shell_client.h @@ -69,10 +69,6 @@ void setOpacity(double opacity) override; QByteArray windowRole() const override; - KWayland::Server::ShellSurfaceInterface *shellSurface() const { - return m_shellSurface; - } - void blockActivityUpdates(bool b = true) override; QString captionNormal() const override { return m_caption;