Commit 654313d4 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.
parent 12ca0a61
Pipeline #175003 passed with stage
in 14 minutes and 17 seconds
......@@ -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());
......
Supports Markdown
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