mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-10 09:01:52 -07:00
one more comment.
This commit is contained in:
@@ -330,7 +330,8 @@ broadcastMessage a = runOnWorkspaces modw
|
|||||||
where modw w = do ml' <- handleMessage (W.layout w) (SomeMessage a) `catchX` return Nothing
|
where modw w = do ml' <- handleMessage (W.layout w) (SomeMessage a) `catchX` return Nothing
|
||||||
return $ w { W.layout = maybe (W.layout w) id ml' }
|
return $ w { W.layout = maybe (W.layout w) id ml' }
|
||||||
|
|
||||||
-- | XXX comment me
|
-- | This is basically a map function, running a function in the X monad on
|
||||||
|
-- each workspace with the output of that function being the modified workspace.
|
||||||
runOnWorkspaces :: (WindowSpace -> X WindowSpace) -> X ()
|
runOnWorkspaces :: (WindowSpace -> X WindowSpace) -> X ()
|
||||||
runOnWorkspaces job = do ws <- gets windowset
|
runOnWorkspaces job = do ws <- gets windowset
|
||||||
h <- mapM job $ W.hidden ws
|
h <- mapM job $ W.hidden ws
|
||||||
|
Reference in New Issue
Block a user