Commit 63014d2c authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[scene] Re-order some connects in Scene::addToplevel()

Re-order some connects to keep them spatially close.

Differential Revision: https://phabricator.kde.org/D29131
parent 774e43c5
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment