mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -07:00
add emptyLayout to MultiToggle
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user