From 4c6da19f9dc579dfefa3a511213b619e2a04a235 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Wed, 27 Feb 2008 02:42:01 +0100 Subject: 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 --- XMonad/Util/Scratchpad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'XMonad/Util') 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" -- cgit v1.2.3