Placement::placeUnderMouse operates on AbstractClient
This commit is contained in:
parent
737ad0b664
commit
ffd6f9ceba
2 changed files with 2 additions and 2 deletions
|
@ -497,7 +497,7 @@ void Placement::placeDialog(Client* c, QRect& area, Policy nextPlacement)
|
|||
placeOnMainWindow(c, area, nextPlacement);
|
||||
}
|
||||
|
||||
void Placement::placeUnderMouse(Client* c, QRect& area, Policy /*next*/)
|
||||
void Placement::placeUnderMouse(AbstractClient* c, QRect& area, Policy /*next*/)
|
||||
{
|
||||
area = checkArea(c, area);
|
||||
QRect geom = c->geometry();
|
||||
|
|
|
@ -90,7 +90,7 @@ public:
|
|||
|
||||
private:
|
||||
void place(Client* c, QRect& area, Policy policy, Policy nextPlacement = Unknown);
|
||||
void placeUnderMouse(Client* c, QRect& area, Policy next = Unknown);
|
||||
void placeUnderMouse(AbstractClient* c, QRect& area, Policy next = Unknown);
|
||||
void placeOnMainWindow(Client* c, QRect& area, Policy next = Unknown);
|
||||
QRect checkArea(const AbstractClient*c, const QRect& area);
|
||||
|
||||
|
|
Loading…
Reference in a new issue