mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41:52 -07:00
MagicFocus.magicFocus: fix type signature.
Layout change caused because of missing type argument.
This commit is contained in:
@@ -23,7 +23,7 @@ import StackSet
|
||||
-- > import XMonadContrib.MagicFocus
|
||||
-- > defaultLayouts = [ magicFocus tiled , magicFocus $ mirror tiled ]
|
||||
|
||||
magicFocus :: Layout -> Layout
|
||||
magicFocus :: Layout a -> Layout a
|
||||
magicFocus l = l { doLayout = \s -> (doLayout l) s . swap
|
||||
, modifyLayout = \x -> fmap magicFocus `fmap` modifyLayout l x }
|
||||
|
||||
|
Reference in New Issue
Block a user