From de27524726975e963ea1b160b3c1a87153cc98a4 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Sun, 9 Dec 2007 17:15:25 +0100 Subject: StackSet: some haddock tuning darcs-hash:20071209161525-32816-aceea145021e7b969ea1ddfdd794fa5b25b072e0.gz --- XMonad/StackSet.hs | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'XMonad') diff --git a/XMonad/StackSet.hs b/XMonad/StackSet.hs index 33536ce..2986631 100644 --- a/XMonad/StackSet.hs +++ b/XMonad/StackSet.hs @@ -14,6 +14,16 @@ module XMonad.StackSet ( -- * Introduction -- $intro + + -- ** The Zipper + -- $zipper + + -- ** Xinerama support + -- $xinerama + + -- ** Master and Focus + -- $focus + StackSet(..), Workspace(..), Screen(..), Stack(..), RationalRect(..), -- * Construction -- $construction @@ -65,8 +75,8 @@ import qualified Data.Map as M (Map,insert,delete,empty) -- Note that workspaces are indexed from 0, windows are numbered -- uniquely. A '*' indicates the window on each workspace that has -- focus, and which workspace is current. --- --- Zipper + +-- $zipper -- -- We encode all the focus tracking directly in the data structure, with a 'zipper': -- @@ -94,9 +104,8 @@ import qualified Data.Map as M (Map,insert,delete,empty) -- Another good reference is: -- -- The Zipper, Haskell wikibook --- --- Xinerama support: --- + +-- $xinerama -- Xinerama in X11 lets us view multiple virtual workspaces -- simultaneously. While only one will ever be in focus (i.e. will -- receive keyboard events), other workspaces may be passively @@ -104,8 +113,8 @@ import qualified Data.Map as M (Map,insert,delete,empty) -- associated (viewed) on which physical screens. To keep track of -- this, StackSet keeps separate lists of visible but non-focused -- workspaces, and non-visible workspaces. --- --- Master and Focus + +-- $focus -- -- Each stack tracks a focused item, and for tiling purposes also tracks -- a 'master' position. The connection between 'master' and 'focus' -- cgit v1.2.3