From 867d86c7841d0fe05733bf0867b14faa5c1928cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Fri, 20 Apr 2018 09:12:06 +0200 Subject: [PATCH] startup: Hide scratch layer actors if not active --- tiling.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tiling.js b/tiling.js index efadaac..3e0dcbf 100644 --- a/tiling.js +++ b/tiling.js @@ -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) {