forked from colonelpanic/dotfiles
[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
|
windowToClassPair w = (,) w <$> getClass w
|
||||||
|
|
||||||
windowIsMinimized w = do
|
windowIsMinimized w = elem w <$> XS.gets minimizedStack
|
||||||
minimized <- XS.gets minimizedStack
|
|
||||||
return $ w `elem` minimized
|
|
||||||
|
|
||||||
maybeUnminimize w = windowIsMinimized w >>= flip when (maximizeWindow w)
|
maybeUnminimize w = windowIsMinimized w >>= flip when (maximizeWindow w)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user