aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@cis.upenn.edu>2009-01-14 07:51:26 +0100
committerBrent Yorgey <byorgey@cis.upenn.edu>2009-01-14 07:51:26 +0100
commit74689b95435600cd46739262f90efbf0150bd995 (patch)
tree74ebe2ef8f560d38825e2fc0ce3dad65fa265a9f
parente376a7edcaeb784a5311973bf2b0f447d7eb6242 (diff)
downloadXMonadContrib-74689b95435600cd46739262f90efbf0150bd995.tar.gz
XMonadContrib-74689b95435600cd46739262f90efbf0150bd995.tar.xz
XMonadContrib-74689b95435600cd46739262f90efbf0150bd995.zip
add a bit of documentation to HintedTile
darcs-hash:20090114065126-1e371-cb665fb2969afa103475ee90936e85a859e4149a.gz
-rw-r--r--XMonad/Layout/HintedTile.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/XMonad/Layout/HintedTile.hs b/XMonad/Layout/HintedTile.hs
index 0c85505..c005889 100644
--- a/XMonad/Layout/HintedTile.hs
+++ b/XMonad/Layout/HintedTile.hs
@@ -50,11 +50,12 @@ import Control.Monad
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
data HintedTile a = HintedTile
- { nmaster :: !Int
- , delta, frac :: !Rational
+ { nmaster :: !Int -- ^ number of windows in the master pane
+ , delta :: !Rational -- ^ how much to change when resizing
+ , frac :: !Rational -- ^ ratio between master/nonmaster panes
, alignment :: !Alignment -- ^ Where to place windows that are smaller
-- than their preordained rectangles.
- , orientation :: !Orientation
+ , orientation :: !Orientation -- ^ Tall or Wide (mirrored) layout?
} deriving ( Show, Read )
data Orientation