diff options
author | Spencer Janssen <spencerjanssen@gmail.com> | 2009-02-22 00:06:28 +0100 |
---|---|---|
committer | Spencer Janssen <spencerjanssen@gmail.com> | 2009-02-22 00:06:28 +0100 |
commit | 774ee4975da2be3d11ed3f08ca12d0b0f36786f1 (patch) | |
tree | bf30f35bf417fbf5e978299465cba9f4a365ad9a /XMonad | |
parent | 80b6384d9471e26af1a10754c6f8ddbdb926845b (diff) | |
download | metatile-774ee4975da2be3d11ed3f08ca12d0b0f36786f1.tar metatile-774ee4975da2be3d11ed3f08ca12d0b0f36786f1.zip |
Use records to document Tall's arguments
Ignore-this: 253c09de793715c18a029406795a42fd
darcs-hash:20090221230628-25a6b-7ea69e8aba9a539a05d096fed041852fb1df040c
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Layout.hs | 6 |
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] .. |