mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
reverse workspaces, so that switching to a dynamic workspace group restores the focus to the screen that was focused at group creation time
This commit is contained in:
parent
4efaa673fe
commit
c073651cc2
@ -93,7 +93,7 @@ addWSGroup name wids = withWindowSet $ \w -> do
|
||||
-- | Give a name to the current workspace group.
|
||||
addCurrentWSGroup :: WSGroupId -> X ()
|
||||
addCurrentWSGroup name = withWindowSet $ \w ->
|
||||
addWSGroup name $ map (W.tag . W.workspace) (W.current w : W.visible w)
|
||||
addWSGroup name $ map (W.tag . W.workspace) (reverse $ W.current w : W.visible w)
|
||||
|
||||
-- | Delete the named workspace group from the list of workspace
|
||||
-- groups. Note that this has no effect on the workspaces involved;
|
||||
|
Loading…
x
Reference in New Issue
Block a user