From 81d4a4235c295c1c06811a4d03903d08450883f6 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 10 Mar 2015 21:17:09 +0100 Subject: Don't restore windows when changing workspaces Ignore-this: 5333205aa1a9fbc5c7844fad69561517 darcs-hash:20150310201709-fd82d-4ada2fc454f82a16f5746942c176cc615a3725d9.gz --- XMonad/Layout/Hidden.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'XMonad/Layout') 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 -- cgit v1.2.3