summaryrefslogtreecommitdiffstats
path: root/XMonad/Layout.hs
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2008-09-28 01:46:39 +0200
committerDevin Mullins <me@twifkak.com>2008-09-28 01:46:39 +0200
commitfaac464c06c9bb5b0786c6e6de3ad75edeee8190 (patch)
tree7d89cb1f988bf2cef53efb4e012addff030141ed /XMonad/Layout.hs
parent6a9cd8b2317374284655af688383746ce17953e3 (diff)
downloadmetatile-faac464c06c9bb5b0786c6e6de3ad75edeee8190.tar
metatile-faac464c06c9bb5b0786c6e6de3ad75edeee8190.zip
add'l documentation
darcs-hash:20080927234639-78224-1f1797ff1808ac3a82f694b87c2a7514ffac549e
Diffstat (limited to 'XMonad/Layout.hs')
-rw-r--r--XMonad/Layout.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/XMonad/Layout.hs b/XMonad/Layout.hs
index 1f73648..2c97a75 100644
--- a/XMonad/Layout.hs
+++ b/XMonad/Layout.hs
@@ -51,7 +51,10 @@ instance LayoutClass Full a
-- | The builtin tiling mode of xmonad. Supports 'Shrink', 'Expand' and
-- 'IncMasterN'.
-data Tall a = Tall !Int !Rational !Rational deriving (Show, Read)
+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)
+ deriving (Show, Read)
-- TODO should be capped [0..1] ..
-- a nice pure layout, lots of properties for the layout, and its messages, in Properties.hs