diff --git a/abstract_client.cpp b/abstract_client.cpp index 2bc0104efa..b6b4707a8d 100644 --- a/abstract_client.cpp +++ b/abstract_client.cpp @@ -55,4 +55,20 @@ bool AbstractClient::untab(const QRect &toGeometry, bool clientRemoved) return false; } +void AbstractClient::growHorizontal() +{ +} + +void AbstractClient::growVertical() +{ +} + +void AbstractClient::shrinkHorizontal() +{ +} + +void AbstractClient::shrinkVertical() +{ +} + } diff --git a/abstract_client.h b/abstract_client.h index c7d1122879..a934410acd 100644 --- a/abstract_client.h +++ b/abstract_client.h @@ -104,6 +104,11 @@ public: virtual bool wantsInput() const = 0; virtual void checkWorkspacePosition(QRect oldGeometry = QRect(), int oldDesktop = -2) = 0; + virtual void growHorizontal(); + virtual void shrinkHorizontal(); + virtual void growVertical(); + virtual void shrinkVertical(); + // TODO: remove boolean trap static bool belongToSameApplication(const AbstractClient* c1, const AbstractClient* c2, bool active_hack = false); diff --git a/client.h b/client.h index b409c787f9..146db86982 100644 --- a/client.h +++ b/client.h @@ -483,10 +483,10 @@ public: */ void setQuickTileMode(QuickTileMode mode, bool keyboard = false); - void growHorizontal(); - void shrinkHorizontal(); - void growVertical(); - void shrinkVertical(); + void growHorizontal() override; + void shrinkHorizontal() override; + void growVertical() override; + void shrinkVertical() override; bool providesContextHelp() const; const QKeySequence &shortcut() const override;