X.A.WindowGo: Remove uncurry from raiseNextMaybeCustomFocus

This commit is contained in:
Ivan Malison 2016-10-26 17:24:45 -07:00
parent 49fecdf4eb
commit 8e061c0c6d
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -144,7 +144,7 @@ raiseNext = raiseNextMaybe $ return ()
raiseNextMaybe :: X () -> Query Bool -> X ()
raiseNextMaybe = raiseNextMaybeCustomFocus W.focusWindow
raiseNextMaybeCustomFocus :: (Window -> (WindowSet -> WindowSet)) -> X() -> Query Bool -> X()
raiseNextMaybeCustomFocus :: (Window -> WindowSet -> WindowSet) -> X() -> Query Bool -> X()
raiseNextMaybeCustomFocus focusFn f qry = flip (ifWindows qry) f $ \ws -> do
foc <- withWindowSet $ return . W.peek
case foc of