mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
Revert "generalized signature of updateLayoutsBy
"
This reverts commit eb48bb4aef638ba6958a4489a282c274e9779767.
This commit is contained in:
parent
5c7e61def2
commit
d66e71d464
@ -455,8 +455,7 @@ filterMessageWithNoRefresh p a = updateLayoutsBy $ \ wrk ->
|
||||
else pure Nothing
|
||||
|
||||
-- | Update the layouts of some workspaces.
|
||||
updateLayoutsBy :: MonadState XState m
|
||||
=> (WindowSpace -> m (Maybe (Layout Window))) -> m ()
|
||||
updateLayoutsBy :: (WindowSpace -> X (Maybe (Layout Window))) -> X ()
|
||||
updateLayoutsBy f = runOnWorkspaces' $ \ wrk ->
|
||||
maybe wrk (\ l' -> wrk{ W.layout = l' }) <$> f wrk
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user