[scene] Re-order some connects in Scene::addToplevel()
Re-order some connects to keep them spatially close. Differential Revision: https://phabricator.kde.org/D29131
This commit is contained in:
parent
774e43c51d
commit
63014d2cb1
1 changed files with 3 additions and 1 deletions
|
@ -423,11 +423,13 @@ void Scene::addToplevel(Toplevel *c)
|
|||
|
||||
connect(c->surface(), &KWaylandServer::SurfaceInterface::scaleChanged, this, discardQuads);
|
||||
}
|
||||
|
||||
connect(c, &Toplevel::screenScaleChanged, this, discardQuads);
|
||||
connect(c, &Toplevel::shadowChanged, this, discardQuads);
|
||||
|
||||
c->effectWindow()->setSceneWindow(w);
|
||||
c->updateShadow();
|
||||
w->updateShadow(c->shadow());
|
||||
connect(c, &Toplevel::shadowChanged, this, discardQuads);
|
||||
}
|
||||
|
||||
void Scene::removeToplevel(Toplevel *toplevel)
|
||||
|
|
Loading…
Reference in a new issue