Move ::packTo to AbstractClient
Base implementation which does nothing
This commit is contained in:
parent
683fc0613f
commit
5b53d2401e
3 changed files with 10 additions and 1 deletions
|
@ -76,4 +76,10 @@ void AbstractClient::shrinkVertical()
|
|||
{
|
||||
}
|
||||
|
||||
void AbstractClient::packTo(int left, int top)
|
||||
{
|
||||
Q_UNUSED(left)
|
||||
Q_UNUSED(top)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
2
client.h
2
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 <typename T>
|
||||
void print(T &stream) const;
|
||||
|
|
Loading…
Reference in a new issue