Workspace::clientArea takes AbstractClient instead of Client
This commit is contained in:
parent
7c187359a7
commit
aa1e9161d5
2 changed files with 2 additions and 2 deletions
|
@ -311,7 +311,7 @@ QRect Workspace::clientArea(clientAreaOption opt, const QPoint& p, int desktop)
|
|||
return clientArea(opt, screens()->number(p), desktop);
|
||||
}
|
||||
|
||||
QRect Workspace::clientArea(clientAreaOption opt, const Client* c) const
|
||||
QRect Workspace::clientArea(clientAreaOption opt, const AbstractClient* c) const
|
||||
{
|
||||
return clientArea(opt, c->geometry().center(), c->desktop());
|
||||
}
|
||||
|
|
|
@ -127,7 +127,7 @@ public:
|
|||
Toplevel *findToplevel(std::function<bool (const Toplevel*)> func) const;
|
||||
|
||||
QRect clientArea(clientAreaOption, const QPoint& p, int desktop) const;
|
||||
QRect clientArea(clientAreaOption, const Client* c) const;
|
||||
QRect clientArea(clientAreaOption, const AbstractClient* c) const;
|
||||
QRect clientArea(clientAreaOption, int screen, int desktop) const;
|
||||
|
||||
QRegion restrictedMoveArea(int desktop, StrutAreas areas = StrutAreaAll) const;
|
||||
|
|
Loading…
Reference in a new issue