diff options
author | Peter Jones <pjones@devalot.com> | 2015-03-10 21:17:09 +0100 |
---|---|---|
committer | Peter Jones <pjones@devalot.com> | 2015-03-10 21:17:09 +0100 |
commit | 81d4a4235c295c1c06811a4d03903d08450883f6 (patch) | |
tree | b8331a560e8f19f6f4932e9181064b871fad6640 | |
parent | c4e5646daa6072913f6e0cb81ea212be6a1883b7 (diff) | |
download | XMonadContrib-81d4a4235c295c1c06811a4d03903d08450883f6.tar.gz XMonadContrib-81d4a4235c295c1c06811a4d03903d08450883f6.tar.xz XMonadContrib-81d4a4235c295c1c06811a4d03903d08450883f6.zip |
Don't restore windows when changing workspaces
Ignore-this: 5333205aa1a9fbc5c7844fad69561517
darcs-hash:20150310201709-fd82d-4ada2fc454f82a16f5746942c176cc615a3725d9.gz
Diffstat (limited to '')
-rw-r--r-- | XMonad/Layout/Hidden.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/XMonad/Layout/Hidden.hs b/XMonad/Layout/Hidden.hs index 62b42a8..5194faa 100644 --- a/XMonad/Layout/Hidden.hs +++ b/XMonad/Layout/Hidden.hs @@ -76,7 +76,6 @@ instance LayoutModifier HiddenWindows Window where | Just (HideWindow win) <- fromMessage mess = hideWindowMsg h win | Just (PopNewestHiddenWindow) <- fromMessage mess = popNewestMsg h | Just (PopOldestHiddenWindow) <- fromMessage mess = popOldestMsg h - | Just Hide <- fromMessage mess = doUnhook | Just ReleaseResources <- fromMessage mess = doUnhook | otherwise = return Nothing where doUnhook = do mapM_ restoreWindow hidden |