[XMonad] Tweak windowIsminimized
This commit is contained in:
parent
88fabc6ba2
commit
ac5826f577
@ -679,9 +679,7 @@ getWindowClassPairs = mapM windowToClassPair =<< workspaceWindows
|
||||
|
||||
windowToClassPair w = (,) w <$> getClass w
|
||||
|
||||
windowIsMinimized w = do
|
||||
minimized <- XS.gets minimizedStack
|
||||
return $ w `elem` minimized
|
||||
windowIsMinimized w = elem w <$> XS.gets minimizedStack
|
||||
|
||||
maybeUnminimize w = windowIsMinimized w >>= flip when (maximizeWindow w)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user