Commit 97cf32f9 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Drop ShellClient::shellSurface method

Summary:
The only place where this method is used is testMaximize. Though that
usage is not justified. We're checking what KWayland already checks.

Test Plan: Compiles, all tests still pass.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18635
parent 5a98591f
......@@ -174,7 +174,6 @@ void TestMaximized::testInitiallyMaximized()
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()
......
......@@ -69,10 +69,6 @@ public:
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment