Move hasStrut from Client to AbstractClient
Base implementation returns false.icc-effect-5.14.5
parent
69d78fe8db
commit
1ccd608121
|
@ -504,4 +504,9 @@ void AbstractClient::updateMoveResize(const QPointF ¤tGlobalCursor)
|
|||
Q_UNUSED(currentGlobalCursor)
|
||||
}
|
||||
|
||||
bool AbstractClient::hasStrut() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -347,6 +347,8 @@ public:
|
|||
virtual QSize minSize() const;
|
||||
virtual QSize maxSize() const;
|
||||
|
||||
virtual bool hasStrut() const;
|
||||
|
||||
// TODO: remove boolean trap
|
||||
static bool belongToSameApplication(const AbstractClient* c1, const AbstractClient* c2, bool active_hack = false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue