Placement::placeZeroCornered operates on AbstractClient

This commit is contained in:
Martin Gräßlin 2015-05-27 10:25:04 +02:00
parent 78700e23fd
commit b971749f1d
2 changed files with 2 additions and 2 deletions

View file

@ -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 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 // get the maximum allowed windows space and desk's origin
c->move(checkArea(c, area).topLeft()); c->move(checkArea(c, area).topLeft());

View file

@ -69,7 +69,7 @@ public:
void placeSmart(Client* c, const 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 placeMaximizing(Client* c, QRect& area, Policy next = Unknown);
void placeCentered(Client* c, const 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 placeDialog(Client* c, QRect& area, Policy next = Unknown);
void placeUtility(Client* c, QRect& area, Policy next = Unknown); void placeUtility(Client* c, QRect& area, Policy next = Unknown);
void placeOnScreenDisplay(Client* c, QRect& area); void placeOnScreenDisplay(Client* c, QRect& area);