Placement::placeCentered operates on AbstractClient
This commit is contained in:
parent
b971749f1d
commit
a261b1c253
2 changed files with 2 additions and 2 deletions
|
@ -451,7 +451,7 @@ void Placement::placeCascaded(Client* c, QRect& area, Policy nextPlacement)
|
||||||
/*!
|
/*!
|
||||||
Place windows centered, on top of all others
|
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
|
// 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 placeCascaded(Client* c, QRect& area, Policy next = Unknown);
|
||||||
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(AbstractClient* c, const QRect& area, Policy next = Unknown);
|
||||||
void placeZeroCornered(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 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);
|
||||||
|
|
Loading…
Reference in a new issue