summaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-12-09 17:15:25 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-12-09 17:15:25 +0100
commit3a08c39490e33f7f5e03fdbb2c9f9cca7a5a7973 (patch)
tree86b906542624e17dd41dce641c1bca00507fd574 /XMonad
parent1c92b27c3d20235807a34d0b415ff60c7b72d682 (diff)
downloadmetatile-3a08c39490e33f7f5e03fdbb2c9f9cca7a5a7973.tar
metatile-3a08c39490e33f7f5e03fdbb2c9f9cca7a5a7973.zip
StackSet: some haddock tuning
darcs-hash:20071209161525-32816-aceea145021e7b969ea1ddfdd794fa5b25b072e0
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/StackSet.hs23
1 files changed, 16 insertions, 7 deletions
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'