diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-09-28 07:23:44 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-09-28 07:23:44 +0200 |
commit | e866f7d6c0fc5b56229ec8befea1ae5bac9a4b97 (patch) | |
tree | 874b2a52ba2b2e918c04b3e04692748cef4ba6ef /XMonad.hs | |
parent | 5dd3a069ecc5e8f03fb7089cf273e489fbdef3cf (diff) | |
download | metatile-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.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |