Workspace::cascadeOffset operates on AbstractClient
This commit is contained in:
parent
942b49e2c4
commit
bfa4e1cec1
2 changed files with 2 additions and 2 deletions
|
@ -361,7 +361,7 @@ void Placement::reinitCascading(int desktop)
|
|||
}
|
||||
}
|
||||
|
||||
QPoint Workspace::cascadeOffset(const Client *c) const
|
||||
QPoint Workspace::cascadeOffset(const AbstractClient *c) const
|
||||
{
|
||||
QRect area = clientArea(PlacementArea, c->geometry().center(), c->desktop());
|
||||
return QPoint(area.width()/48, area.height()/48);
|
||||
|
|
|
@ -218,7 +218,7 @@ public:
|
|||
void stackScreenEdgesUnderOverrideRedirect();
|
||||
|
||||
public:
|
||||
QPoint cascadeOffset(const Client *c) const;
|
||||
QPoint cascadeOffset(const AbstractClient *c) const;
|
||||
|
||||
private:
|
||||
Compositor *m_compositor;
|
||||
|
|
Loading…
Reference in a new issue