From ad6039c7c36af9c5018c15b94da2299546cf0774 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 25 Aug 2021 17:37:03 +0300 Subject: [PATCH] Remove unused Workspace::clientArea() overload --- src/workspace.cpp | 5 ----- src/workspace.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/workspace.cpp b/src/workspace.cpp index ea8738cc45..1cf81241ee 100644 --- a/src/workspace.cpp +++ b/src/workspace.cpp @@ -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); diff --git a/src/workspace.h b/src/workspace.h index 45a6896efd..352638b52d 100644 --- a/src/workspace.h +++ b/src/workspace.h @@ -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;