aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2010-04-19 03:43:44 +0200
committerAdam Vogt <vogt.adam@gmail.com>2010-04-19 03:43:44 +0200
commit21033ad1ff3948c39dab6fca2e003acb6f575cc2 (patch)
treea5c0117dcb072f3db6eb561869cdc7726eab280a /XMonad/Layout
parentc5b25d0fb00ff878886df89842c4a442819a0800 (diff)
downloadXMonadContrib-21033ad1ff3948c39dab6fca2e003acb6f575cc2.tar.gz
XMonadContrib-21033ad1ff3948c39dab6fca2e003acb6f575cc2.tar.xz
XMonadContrib-21033ad1ff3948c39dab6fca2e003acb6f575cc2.zip
Use CPP to add to exports for Selective tests (L.LimitWindows)
Ignore-this: 74c228892f07bb827e4b419f4efdb04 darcs-hash:20100419014344-1499c-4a6191209e2f2457f1ca1e347387bb74d9dd957a.gz
Diffstat (limited to 'XMonad/Layout')
-rw-r--r--XMonad/Layout/LimitWindows.hs9
1 files changed, 7 insertions, 2 deletions
diff --git a/XMonad/Layout/LimitWindows.hs b/XMonad/Layout/LimitWindows.hs
index d8ef6a1..d437b72 100644
--- a/XMonad/Layout/LimitWindows.hs
+++ b/XMonad/Layout/LimitWindows.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, DeriveDataTypeable, PatternGuards #-}
+{-# LANGUAGE CPP, FlexibleInstances, MultiParamTypeClasses, DeriveDataTypeable, PatternGuards #-}
-----------------------------------------------------------------------------
-- |
-- Module : XMonad.Layout.LimitWindows
@@ -23,7 +23,12 @@ module XMonad.Layout.LimitWindows (
limitWindows,limitSlice,limitSelect,
-- * Change the number of windows
- increaseLimit,decreaseLimit,setLimit
+ increaseLimit,decreaseLimit,setLimit,
+
+#ifdef TESTING
+ -- * For tests
+ select,update,Selection(..),updateAndSelect,
+#endif
) where
import XMonad.Layout.LayoutModifier