diff options
author | David Roundy <droundy@darcs.net> | 2008-02-29 23:13:26 +0100 |
---|---|---|
committer | David Roundy <droundy@darcs.net> | 2008-02-29 23:13:26 +0100 |
commit | 0876286d2ccc4b0ea99cff02e449d5b9ae320ad1 (patch) | |
tree | 91a86f342835cdfe120397c202a514691a2f62ff /XMonad/Layout | |
parent | 2deabb56b4e8dac665df53adcf60a0eb59045428 (diff) | |
download | XMonadContrib-0876286d2ccc4b0ea99cff02e449d5b9ae320ad1.tar.gz XMonadContrib-0876286d2ccc4b0ea99cff02e449d5b9ae320ad1.tar.xz XMonadContrib-0876286d2ccc4b0ea99cff02e449d5b9ae320ad1.zip |
simplify Simplest--allow it to apply to non-Windows.
darcs-hash:20080229221326-72aca-d896abb0f51aa2778a6411ef887d2d03bbb43d08.gz
Diffstat (limited to 'XMonad/Layout')
-rw-r--r-- | XMonad/Layout/Simplest.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Layout/Simplest.hs b/XMonad/Layout/Simplest.hs index 5370013..1b6ddac 100644 --- a/XMonad/Layout/Simplest.hs +++ b/XMonad/Layout/Simplest.hs @@ -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) |