aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util/Scratchpad.hs
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@gmail.com>2008-02-27 02:42:01 +0100
committerBrent Yorgey <byorgey@gmail.com>2008-02-27 02:42:01 +0100
commit4c6da19f9dc579dfefa3a511213b619e2a04a235 (patch)
treeb6846d87bbc2dbe1432e0574b02338f071392341 /XMonad/Util/Scratchpad.hs
parente4ab822948bbb5d72ee5fd167b94adecbd534ffc (diff)
downloadXMonadContrib-4c6da19f9dc579dfefa3a511213b619e2a04a235.tar.gz
XMonadContrib-4c6da19f9dc579dfefa3a511213b619e2a04a235.tar.xz
XMonadContrib-4c6da19f9dc579dfefa3a511213b619e2a04a235.zip
XMonad.Util.Scratchpad: change 'XConfig Layout' to 'XConfig l', to avoid type mismatches; the exact layout type doesn't actually matter
darcs-hash:20080227014201-bd4d7-575e99d56112ff746a07505f59d6b63d36953846.gz
Diffstat (limited to 'XMonad/Util/Scratchpad.hs')
-rw-r--r--XMonad/Util/Scratchpad.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad/Util/Scratchpad.hs b/XMonad/Util/Scratchpad.hs
index 3eab56c..b9b4405 100644
--- a/XMonad/Util/Scratchpad.hs
+++ b/XMonad/Util/Scratchpad.hs
@@ -51,13 +51,13 @@ import qualified XMonad.StackSet
-- | Complete key binding. Pops up the terminal on mod+s.
-scratchpadSpawnDefault :: XConfig Layout -- ^ The configuration, to retrieve terminal and modMask
+scratchpadSpawnDefault :: XConfig l -- ^ The configuration, to retrieve terminal and modMask
-> ((KeyMask, KeySym), X ())
scratchpadSpawnDefault conf = ((modMask conf, xK_s), scratchpadSpawnAction conf)
-- | Action to pop up the terminal, for the user to bind to a custom key.
-scratchpadSpawnAction :: XConfig Layout -- ^ The configuration, to retrieve the terminal
+scratchpadSpawnAction :: XConfig l -- ^ The configuration, to retrieve the terminal
-> X ()
scratchpadSpawnAction conf = spawn $ terminal conf ++ " -title scratchpad"