mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-08-12 04:00:20 +00:00
startup: Hide scratch layer actors if not active
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user