summaryrefslogtreecommitdiffstats
path: root/XMonad.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-09-28 07:23:44 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-09-28 07:23:44 +0200
commite866f7d6c0fc5b56229ec8befea1ae5bac9a4b97 (patch)
tree874b2a52ba2b2e918c04b3e04692748cef4ba6ef /XMonad.hs
parent5dd3a069ecc5e8f03fb7089cf273e489fbdef3cf (diff)
downloadmetatile-e866f7d6c0fc5b56229ec8befea1ae5bac9a4b97.tar
metatile-e866f7d6c0fc5b56229ec8befea1ae5bac9a4b97.zip
SomeLayout: use the description of the wrapped layout
darcs-hash:20070928052344-a5988-b6653a59a3dee58f947d0fc4064627f3808d2d79
Diffstat (limited to 'XMonad.hs')
-rw-r--r--XMonad.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/XMonad.hs b/XMonad.hs
index 6e7cdd4..cd6bcad 100644
--- a/XMonad.hs
+++ b/XMonad.hs
@@ -139,6 +139,7 @@ instance ReadableSomeLayout a => Read (SomeLayout a) where
instance ReadableSomeLayout a => Layout SomeLayout a where
doLayout (SomeLayout l) r s = fmap (fmap $ fmap SomeLayout) $ doLayout l r s
handleMessage (SomeLayout l) = fmap (fmap SomeLayout) . handleMessage l
+ description (SomeLayout l) = description l
instance Show (SomeLayout a) where
show (SomeLayout l) = show l