diff options
Diffstat (limited to 'XMonad.hs')
-rw-r--r-- | XMonad.hs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -153,6 +153,8 @@ class (Show (layout a), Read (layout a)) => Layout layout a where doLayout :: layout a -> Rectangle -> Stack a -> X ([(a, Rectangle)], Maybe (layout a)) modifyLayout :: layout a -> SomeMessage -> X (Maybe (layout a)) modifyLayout _ _ = return Nothing + description :: layout a -> String + description = show runLayout :: Layout l a => l a -> Rectangle -> StackOrNot a -> X ([(a, Rectangle)], Maybe (l a)) runLayout l r = maybe (return ([], Nothing)) (doLayout l r) |