aboutsummaryrefslogtreecommitdiff
path: root/src/Rahm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Rahm')
-rw-r--r--src/Rahm/Desktop/Theater.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Rahm/Desktop/Theater.hs b/src/Rahm/Desktop/Theater.hs
index 665f6f1..7fcd085 100644
--- a/src/Rahm/Desktop/Theater.hs
+++ b/src/Rahm/Desktop/Theater.hs
@@ -32,6 +32,7 @@ import qualified XMonad as X
readsLayout,
windows,
withWindowSet,
+ rescreen
)
import qualified XMonad.StackSet as W
( Screen (..),
@@ -129,6 +130,8 @@ restoreTheater name = do
saveTheater name newStackSet
X.windows $ const newStackSet
+ X.rescreen
+
isStackSetEmpty ::
(Eq i, Eq a) => i -> W.StackSet i l a si sd -> Bool
isStackSetEmpty hiddenWorkspace =