diff --git a/abstract_client.cpp b/abstract_client.cpp index 476efc6414..cdaeff1348 100644 --- a/abstract_client.cpp +++ b/abstract_client.cpp @@ -3474,4 +3474,9 @@ void AbstractClient::setNoBorder(bool set) qCWarning(KWIN_CORE, "%s doesn't support setting decorations", metaObject()->className()); } +void AbstractClient::showOnScreenEdge() +{ + qCWarning(KWIN_CORE, "%s doesn't support screen edge activation", metaObject()->className()); +} + } diff --git a/abstract_client.h b/abstract_client.h index b7530bfbb0..dd00c1aa62 100644 --- a/abstract_client.h +++ b/abstract_client.h @@ -764,7 +764,7 @@ public: * The AbstractClient also gets raised (e.g. Panel mode windows can cover) and the AbstractClient * gets informed in a window specific way that it is shown and raised again. */ - virtual void showOnScreenEdge() = 0; + virtual void showOnScreenEdge(); QByteArray desktopFileName() const { return m_desktopFileName; diff --git a/internal_client.cpp b/internal_client.cpp index 91d3615389..00f98dbeaf 100644 --- a/internal_client.cpp +++ b/internal_client.cpp @@ -384,10 +384,6 @@ void InternalClient::updateDecoration(bool check_workspace_pos, bool force) } } -void InternalClient::showOnScreenEdge() -{ -} - void InternalClient::destroyClient() { markAsZombie(); diff --git a/internal_client.h b/internal_client.h index ae6dbd4155..040b996598 100644 --- a/internal_client.h +++ b/internal_client.h @@ -65,7 +65,6 @@ public: bool takeFocus() override; void setNoBorder(bool set) override; void updateDecoration(bool check_workspace_pos, bool force = false) override; - void showOnScreenEdge() override; void destroyClient() override; void present(const QSharedPointer fbo); diff --git a/xdgshellclient.cpp b/xdgshellclient.cpp index 5192e0b849..0ffe513d46 100644 --- a/xdgshellclient.cpp +++ b/xdgshellclient.cpp @@ -2012,10 +2012,6 @@ void XdgPopupClient::closeWindow() { } -void XdgPopupClient::showOnScreenEdge() -{ -} - bool XdgPopupClient::supportsWindowRules() const { return false; diff --git a/xdgshellclient.h b/xdgshellclient.h index fd2b4dfbc0..74238c12eb 100644 --- a/xdgshellclient.h +++ b/xdgshellclient.h @@ -246,7 +246,6 @@ public: QRect transientPlacement(const QRect &bounds) const override; bool isCloseable() const override; void closeWindow() override; - void showOnScreenEdge() override; bool wantsInput() const override; bool takeFocus() override; bool supportsWindowRules() const override;