startup: Hide scratch layer actors if not active

This commit is contained in:
Tor Hedin Brønner
2018-04-22 15:01:57 +02:00
parent 00ed83eb19
commit 867d86c784
+5
View File
@@ -465,6 +465,11 @@ function enable() {
function initWorkspaces() {
spaces = new Spaces();
Navigator.switchWorkspace(global.screen.get_active_workspace());
if (!Scratch.isScratchActive()) {
Scratch.getScratchWindows().forEach(
w => w.get_compositor_private().hide());
}
}
if (isDuringGnomeShellStartup) {