Move hasStrut from Client to AbstractClient
Base implementation returns false.
This commit is contained in:
parent
69d78fe8db
commit
1ccd608121
3 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
2
client.h
2
client.h
|
@ -398,7 +398,7 @@ public:
|
|||
void checkActiveModal();
|
||||
StrutRect strutRect(StrutArea area) const;
|
||||
StrutRects strutRects() const;
|
||||
bool hasStrut() const;
|
||||
bool hasStrut() const override;
|
||||
|
||||
// Tabbing functions
|
||||
TabGroup* tabGroup() const override; // Returns a pointer to client_group
|
||||
|
|
Loading…
Reference in a new issue