[XMonad] Remove redundant do

This commit is contained in:
Ivan Malison 2016-11-19 14:38:19 -08:00
parent 206fc8ffbf
commit 5ae28abbb4
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -289,7 +289,7 @@ swapMinimizeStateAfter action = withFocused $ \originalWindow -> do
_ <- action
restoreFocus $ do
maybeUnminimizeFocused
withFocused $ \newWindow -> do
withFocused $ \newWindow ->
when (newWindow /= originalWindow)
$ minimizeWindow originalWindow