mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
style assimilation
This commit is contained in:
parent
9a6494fae2
commit
9a209f6d55
@ -189,7 +189,7 @@ acceptChange :: (LayoutClass l' a) => MultiToggle ts l a -> ((l' a -> MultiToggl
|
|||||||
acceptChange mt f = fmap (f (\x -> mt{ currLayout = EL x }))
|
acceptChange mt f = fmap (f (\x -> mt{ currLayout = EL x }))
|
||||||
|
|
||||||
instance (Typeable a, Show ts, HList ts a, LayoutClass l a) => LayoutClass (MultiToggle ts l) a where
|
instance (Typeable a, Show ts, HList ts a, LayoutClass l a) => LayoutClass (MultiToggle ts l) a where
|
||||||
description (MultiToggle { currLayout = (EL l) }) = description l
|
description mt = currLayout mt `unEL` \l -> description l
|
||||||
|
|
||||||
pureLayout mt r s = currLayout mt `unEL` \l -> pureLayout l r s
|
pureLayout mt r s = currLayout mt `unEL` \l -> pureLayout l r s
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user