simplify Simplest--allow it to apply to non-Windows.

This commit is contained in:
David Roundy 2008-02-29 22:13:26 +00:00
parent 77476932c4
commit dca8b60cd5

View File

@ -37,5 +37,5 @@ import qualified XMonad.StackSet as S
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
data Simplest a = Simplest deriving (Show, Read)
instance LayoutClass Simplest Window where
instance LayoutClass Simplest a where
pureLayout Simplest rec (S.Stack w l r) = zip (w : reverse l ++ r) (repeat rec)