aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout
diff options
context:
space:
mode:
authorMax Rabkin <max.rabkin@gmail.com>2009-09-29 18:31:39 +0200
committerMax Rabkin <max.rabkin@gmail.com>2009-09-29 18:31:39 +0200
commit73bbe88dde8488da220a6f4bb01612c94396cda6 (patch)
tree1d3a775f6a677a361003148bc1cca7924cdc1dd6 /XMonad/Layout
parent4b3ac1ac0388f7220a5e533c375632a1af2bba9d (diff)
downloadXMonadContrib-73bbe88dde8488da220a6f4bb01612c94396cda6.tar.gz
XMonadContrib-73bbe88dde8488da220a6f4bb01612c94396cda6.tar.xz
XMonadContrib-73bbe88dde8488da220a6f4bb01612c94396cda6.zip
Test that update preserves invariants of Selection
Ignore-this: 340b2a1465b9fc98cdc386b511ce26bb darcs-hash:20090929163139-a5338-41aff4fdfbefe3c50a528bdf1a0c798a90b80381.gz
Diffstat (limited to 'XMonad/Layout')
-rw-r--r--XMonad/Layout/Selective.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Layout/Selective.hs b/XMonad/Layout/Selective.hs
index 415a69f..5853c56 100644
--- a/XMonad/Layout/Selective.hs
+++ b/XMonad/Layout/Selective.hs
@@ -25,7 +25,7 @@ import XMonad.StackSet
import XMonad.Layout.LayoutModifier
import Control.Applicative ((<$>))
--- invariant: 0 <= nMaster <= start; 0 <= nRest
+-- invariant: 0 <= nMaster <= start; 1 <= nRest
data Selection = Sel { nMaster :: Int, start :: Int, nRest :: Int }
deriving (Read, Show, Eq)