From e707ba404ebaede90b03c4a20968f60c9a266dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Tue, 5 Jun 2018 18:57:08 +0200 Subject: [PATCH] disable: Only show windows on active workspace This avoids showing all the window actors in the background when we disable. --- tiling.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tiling.js b/tiling.js index 2eae408..a5183df 100644 --- a/tiling.js +++ b/tiling.js @@ -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));