summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2009-02-22 00:06:28 +0100
committerSpencer Janssen <spencerjanssen@gmail.com>2009-02-22 00:06:28 +0100
commit774ee4975da2be3d11ed3f08ca12d0b0f36786f1 (patch)
treebf30f35bf417fbf5e978299465cba9f4a365ad9a
parent80b6384d9471e26af1a10754c6f8ddbdb926845b (diff)
downloadmetatile-774ee4975da2be3d11ed3f08ca12d0b0f36786f1.tar
metatile-774ee4975da2be3d11ed3f08ca12d0b0f36786f1.zip
Use records to document Tall's arguments
Ignore-this: 253c09de793715c18a029406795a42fd darcs-hash:20090221230628-25a6b-7ea69e8aba9a539a05d096fed041852fb1df040c
-rw-r--r--XMonad/Layout.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/XMonad/Layout.hs b/XMonad/Layout.hs
index 2c97a75..0eb1ab5 100644
--- a/XMonad/Layout.hs
+++ b/XMonad/Layout.hs
@@ -51,9 +51,9 @@ instance LayoutClass Full a
-- | The builtin tiling mode of xmonad. Supports 'Shrink', 'Expand' and
-- 'IncMasterN'.
-data Tall a = Tall !Int -- ^ The default number of windows in the master pane (default: 1)
- !Rational -- ^ Default proportion of screen occupied by master pane (default: 1/2)
- !Rational -- ^ Percent of screen to increment by when resizing panes (default: 3/100)
+data Tall a = Tall { tallNMaster :: !Int -- ^ The default number of windows in the master pane (default: 1)
+ , tallRatio :: !Rational -- ^ Default proportion of screen occupied by master pane (default: 1/2)
+ , tallRatioIncrement :: !Rational } -- ^ Percent of screen to increment by when resizing panes (default: 3/100)
deriving (Show, Read)
-- TODO should be capped [0..1] ..