aboutsummaryrefslogtreecommitdiffstats
path: root/TwoPane.hs
diff options
context:
space:
mode:
authorjoachim.fasting <joachim.fasting@gmail.com>2007-06-20 00:03:23 +0200
committerjoachim.fasting <joachim.fasting@gmail.com>2007-06-20 00:03:23 +0200
commit346cc3269ee31062fa7eb560f90c4059c6279962 (patch)
treed3fce63e93e074dbec7eaa5b261b0d65f8d0219e /TwoPane.hs
parentb5826d369dabc893c9fa7bf1a97915c4c7f4967e (diff)
downloadXMonadContrib-346cc3269ee31062fa7eb560f90c4059c6279962.tar.gz
XMonadContrib-346cc3269ee31062fa7eb560f90c4059c6279962.tar.xz
XMonadContrib-346cc3269ee31062fa7eb560f90c4059c6279962.zip
Fix type signatures.
Think this fixes the rest of the errors caused by the Layout change. darcs-hash:20070619220323-ea16c-3274cd24d01bc932089ab88191ccda316ea93b01.gz
Diffstat (limited to 'TwoPane.hs')
-rw-r--r--TwoPane.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/TwoPane.hs b/TwoPane.hs
index f5c9c92..b4d5f41 100644
--- a/TwoPane.hs
+++ b/TwoPane.hs
@@ -34,7 +34,7 @@ import StackSet ( focus, up, down)
--
-- > twoPane defaultDelta (1%2)
-twoPane :: Rational -> Rational -> Layout
+twoPane :: Rational -> Rational -> Layout a
twoPane delta split = Layout { doLayout = \r s -> return $ arrange r s, modifyLayout = message }
where
arrange rect st = case reverse (up st) of