Remove unused Workspace::clientArea() overload

This commit is contained in:
Vlad Zahorodnii 2021-08-25 17:37:03 +03:00
parent 30959c2efb
commit ad6039c7c3
2 changed files with 0 additions and 6 deletions

View file

@ -2347,11 +2347,6 @@ QRect Workspace::clientArea(clientAreaOption opt, int screen, int desktop) const
return clientArea(opt, output, virtualDesktop);
}
QRect Workspace::clientArea(clientAreaOption opt, const AbstractOutput *output, int desktop) const
{
return clientArea(opt, output->geometry().center(), desktop);
}
QRect Workspace::clientArea(clientAreaOption opt, const QPoint& p, int desktop) const
{
return clientArea(opt, screens()->number(p), desktop);

View file

@ -147,7 +147,6 @@ public:
QRect clientArea(clientAreaOption, const AbstractClient *client, int screen) const;
QRect clientArea(clientAreaOption, const AbstractClient *client, const QPoint &pos) const;
QRect clientArea(clientAreaOption, int screen, int desktop) const;
QRect clientArea(clientAreaOption, const AbstractOutput *output, int desktop) const;
QRegion restrictedMoveArea(const VirtualDesktop *desktop, StrutAreas areas = StrutAreaAll) const;