mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41:52 -07:00
Update MagicFocus to the new StackSet
This commit is contained in:
@@ -7,5 +7,4 @@ magicFocus l = l { doLayout = \s -> (doLayout l) s . swap
|
||||
, modifyLayout = \x -> fmap magicFocus `fmap` modifyLayout l x }
|
||||
|
||||
swap :: Stack a -> Stack a
|
||||
swap Empty = Empty
|
||||
swap (Node f u d) = Node f [] (reverse u ++ d)
|
||||
swap (Stack f u d) = Stack f [] (reverse u ++ d)
|
||||
|
Reference in New Issue
Block a user