diff --git a/abstract_client.cpp b/abstract_client.cpp index ddbc58e0cd..15bf34dbba 100644 --- a/abstract_client.cpp +++ b/abstract_client.cpp @@ -76,4 +76,10 @@ void AbstractClient::shrinkVertical() { } +void AbstractClient::packTo(int left, int top) +{ + Q_UNUSED(left) + Q_UNUSED(top) +} + } diff --git a/abstract_client.h b/abstract_client.h index 4e95edc7f5..11cb4c6645 100644 --- a/abstract_client.h +++ b/abstract_client.h @@ -132,6 +132,9 @@ public: }; virtual Position titlebarPosition() const = 0; + // a helper for the workspace window packing. tests for screen validity and updates since in maximization case as with normal moving + virtual void packTo(int left, int top); + // 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 0579176962..273d081279 100644 --- a/client.h +++ b/client.h @@ -639,7 +639,7 @@ public: void setSessionInteract(bool needed); virtual bool isClient() const; // a helper for the workspace window packing. tests for screen validity and updates since in maximization case as with normal moving - void packTo(int left, int top); + void packTo(int left, int top) override; template void print(T &stream) const;