mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
add emptyLayout to MultiToggle
This commit is contained in:
parent
ced1792bfa
commit
d1dc49575b
@ -200,6 +200,8 @@ instance (Typeable a, Show ts, HList ts a, LayoutClass l a) => LayoutClass (Mult
|
|||||||
|
|
||||||
doLayout mt r s = currLayout mt `unEL` \l -> acceptChange mt (fmap . fmap) (doLayout l r s)
|
doLayout mt r s = currLayout mt `unEL` \l -> acceptChange mt (fmap . fmap) (doLayout l r s)
|
||||||
|
|
||||||
|
emptyLayout mt r = currLayout mt `unEL` \l -> acceptChange mt (fmap . fmap) (emptyLayout l r)
|
||||||
|
|
||||||
handleMessage mt m
|
handleMessage mt m
|
||||||
| Just (Toggle t) <- fromMessage m
|
| Just (Toggle t) <- fromMessage m
|
||||||
, i@(Just _) <- find (transformers mt) t
|
, i@(Just _) <- find (transformers mt) t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user