mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
Don't restore windows when changing workspaces
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user