Placement::placeOnScreenDisplay operates on AbstractClient
This commit is contained in:
parent
aaca122902
commit
670787086b
2 changed files with 2 additions and 2 deletions
|
@ -483,7 +483,7 @@ void Placement::placeUtility(Client* c, QRect& area, Policy /*next*/)
|
||||||
place(c, area, Default);
|
place(c, area, Default);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Placement::placeOnScreenDisplay(Client* c, QRect& area)
|
void Placement::placeOnScreenDisplay(AbstractClient* c, QRect& area)
|
||||||
{
|
{
|
||||||
// place at lower 1/3 of the screen
|
// place at lower 1/3 of the screen
|
||||||
const int x = area.left() + (area.width() - c->width()) / 2;
|
const int x = area.left() + (area.width() - c->width()) / 2;
|
||||||
|
|
|
@ -72,7 +72,7 @@ public:
|
||||||
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);
|
||||||
void placeOnScreenDisplay(Client* c, QRect& area);
|
void placeOnScreenDisplay(AbstractClient* c, QRect& area);
|
||||||
|
|
||||||
void reinitCascading(int desktop);
|
void reinitCascading(int desktop);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue