Fix type signatures.

Think this fixes the rest of the errors caused by the Layout change.
This commit is contained in:
joachim.fasting
2007-06-19 22:03:23 +00:00
parent 02f70419eb
commit 88d77b244f
14 changed files with 16 additions and 16 deletions

View File

@@ -47,7 +47,7 @@ import XMonadContrib.Dmenu ( dmenu, runProcessWithInput )
data Chdir = Chdir String deriving ( Typeable )
instance Message Chdir
workspaceDir :: String -> Layout -> Layout
workspaceDir :: String -> Layout a -> Layout a
workspaceDir wd l = l { doLayout = \r x -> scd wd >> doLayout l r x
, modifyLayout = ml }
where ml m | Just (Chdir wd') <- fromMessage m = return $ Just (workspaceDir wd' l)