1
0
mirror of https://github.com/xmonad/xmonad.git synced 2025-08-13 19:15:44 -07:00
This commit is contained in:
Spencer Janssen
2007-12-22 04:11:51 +00:00
parent 6c72a03fb1
commit f5e55f3a27

@@ -313,7 +313,7 @@ broadcastMessage a = runOnWorkspaces $ \w -> do
-- | 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 job =do
runOnWorkspaces job = do
ws <- gets windowset
h <- mapM job $ hidden ws
c:v <- mapM (\s -> (\w -> s { workspace = w}) <$> job (workspace s))