mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
X.A.WindowGo: Remove uncurry from raiseNextMaybeCustomFocus
This commit is contained in:
parent
49fecdf4eb
commit
8e061c0c6d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user