disable: Only show windows on active workspace

This avoids showing all the window actors in the background when we disable.
This commit is contained in:
Tor Hedin Brønner
2018-06-05 18:57:08 +02:00
parent 1c998302f3
commit e707ba404e
+2 -1
View File
@@ -437,7 +437,8 @@ class Spaces extends Map {
delete metaWindow[signals];
}
actor.show();
if (metaWindow.get_workspace() === screen.get_active_workspace())
actor.show();
});
this.screenSignals.forEach(id => global.screen.disconnect(id));