mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 20:51:55 -07:00
Xinerama screen switching bugfix
This commit is contained in:
@@ -138,7 +138,7 @@ screen n w = M.lookup n (ws2screen w)
|
|||||||
|
|
||||||
-- | The workspace visible on screen 'sc'. Nothing if screen is out of bounds.
|
-- | The workspace visible on screen 'sc'. Nothing if screen is out of bounds.
|
||||||
workspace :: Int -> StackSet a -> Maybe Int
|
workspace :: Int -> StackSet a -> Maybe Int
|
||||||
workspace sc w = M.lookup sc $ ws2screen w
|
workspace sc w = M.lookup sc (screen2ws w)
|
||||||
|
|
||||||
-- | A list of the currently visible workspaces.
|
-- | A list of the currently visible workspaces.
|
||||||
visibleWorkspaces :: StackSet a -> [Int]
|
visibleWorkspaces :: StackSet a -> [Int]
|
||||||
|
Reference in New Issue
Block a user