From a261b1c2530f9da971b66dde713bbcee26bd13e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 27 May 2015 10:28:23 +0200 Subject: [PATCH] Placement::placeCentered 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 add860e60b..635ff32542 100644 --- a/placement.cpp +++ b/placement.cpp @@ -451,7 +451,7 @@ void Placement::placeCascaded(Client* c, QRect& area, Policy nextPlacement) /*! Place windows centered, on top of all others */ -void Placement::placeCentered(Client* c, const QRect& area, Policy /*next*/) +void Placement::placeCentered(AbstractClient* c, const QRect& area, Policy /*next*/) { // get the maximum allowed windows space and desk's origin diff --git a/placement.h b/placement.h index ca0b10f401..5c0bc0b6b1 100644 --- a/placement.h +++ b/placement.h @@ -68,7 +68,7 @@ public: void placeCascaded(Client* c, QRect& area, Policy next = Unknown); 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 placeCentered(AbstractClient* 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);