mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 20:21:52 -07:00
LayoutSelection: describe the active layout only
This commit is contained in:
@@ -386,6 +386,9 @@ instance ReadableSomeLayout a => Layout LayoutSelection a where
|
||||
return $ (\l' -> LayoutSelection (l':ls)) `fmap` ml'
|
||||
-- Unless there is no layout...
|
||||
handleMessage (LayoutSelection []) _ = return Nothing
|
||||
|
||||
description (LayoutSelection (x:_)) = description x
|
||||
description _ = "default"
|
||||
--
|
||||
-- Builtin layout algorithms:
|
||||
--
|
||||
|
Reference in New Issue
Block a user