Commit a261b1c2 authored by Martin Flöser's avatar Martin Flöser
Browse files

Placement::placeCentered operates on AbstractClient

parent b971749f
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment