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:
parent
12ca0a6128
commit
654313d460
1 changed files with 0 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue