scene: Remove repaint on current activity/desktop change

WindowItem has proper visibility set now, so these two interim hacks can
be removed now.

Workspace::stackingOrderChanged still needs to be kept around as the
Scene has no root item which could track the order of its child (window)
items.
This commit is contained in:
Vlad Zahorodnii 2022-05-12 10:26:21 +03:00
parent 12ca0a6128
commit 654313d460

View file

@ -146,8 +146,6 @@ Scene::~Scene()
void Scene::initialize()
{
connect(workspace(), &Workspace::currentActivityChanged, this, &Scene::addRepaintFull);
connect(workspace(), &Workspace::currentDesktopChanged, this, &Scene::addRepaintFull);
connect(workspace(), &Workspace::stackingOrderChanged, this, &Scene::addRepaintFull);
setGeometry(workspace()->geometry());