mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
simplify Simplest--allow it to apply to non-Windows.
This commit is contained in:
parent
77476932c4
commit
dca8b60cd5
@ -37,5 +37,5 @@ import qualified XMonad.StackSet as S
|
|||||||
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||||
|
|
||||||
data Simplest a = Simplest deriving (Show, Read)
|
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)
|
pureLayout Simplest rec (S.Stack w l r) = zip (w : reverse l ++ r) (repeat rec)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user