aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
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
commit734dc6adeabbf0b2efbf9492ab111c8501e1ec0f (patch)
treebf30f35bf417fbf5e978299465cba9f4a365ad9a /XMonad
parentf61783a79a0e515119456754e89b370bac06d57d (diff)
downloadxmonad-734dc6adeabbf0b2efbf9492ab111c8501e1ec0f.tar.gz
xmonad-734dc6adeabbf0b2efbf9492ab111c8501e1ec0f.tar.xz
xmonad-734dc6adeabbf0b2efbf9492ab111c8501e1ec0f.zip
Use records to document Tall's arguments
Ignore-this: 253c09de793715c18a029406795a42fd darcs-hash:20090221230628-25a6b-7ea69e8aba9a539a05d096fed041852fb1df040c.gz
Diffstat (limited to 'XMonad')
-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] ..