From b971749f1d39e0d605aded5e8bfb898c3efc0f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 27 May 2015 10:25:04 +0200 Subject: [PATCH] Placement::placeZeroCornered operates on AbstractClient --- placement.cpp | 2 +- placement.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/placement.cpp b/placement.cpp index 59e574c31e..add860e60b 100644 --- a/placement.cpp +++ b/placement.cpp @@ -467,7 +467,7 @@ void Placement::placeCentered(Client* c, const QRect& area, Policy /*next*/) /*! Place windows in the (0,0) corner, on top of all others */ -void Placement::placeZeroCornered(Client* c, const QRect& area, Policy /*next*/) +void Placement::placeZeroCornered(AbstractClient* c, const QRect& area, Policy /*next*/) { // get the maximum allowed windows space and desk's origin c->move(checkArea(c, area).topLeft()); diff --git a/placement.h b/placement.h index a04eed359a..ca0b10f401 100644 --- a/placement.h +++ b/placement.h @@ -69,7 +69,7 @@ public: void placeSmart(Client* c, const QRect& area, Policy next = Unknown); void placeMaximizing(Client* c, QRect& area, Policy next = Unknown); void placeCentered(Client* c, const QRect& area, Policy next = Unknown); - void placeZeroCornered(Client* c, const QRect& area, Policy next = Unknown); + void placeZeroCornered(AbstractClient* c, const QRect& area, Policy next = Unknown); void placeDialog(Client* c, QRect& area, Policy next = Unknown); void placeUtility(Client* c, QRect& area, Policy next = Unknown); void placeOnScreenDisplay(Client* c, QRect& area);