diff options
author | joachim.fasting <joachim.fasting@gmail.com> | 2007-06-20 00:03:23 +0200 |
---|---|---|
committer | joachim.fasting <joachim.fasting@gmail.com> | 2007-06-20 00:03:23 +0200 |
commit | 346cc3269ee31062fa7eb560f90c4059c6279962 (patch) | |
tree | d3fce63e93e074dbec7eaa5b261b0d65f8d0219e /WorkspaceDir.hs | |
parent | b5826d369dabc893c9fa7bf1a97915c4c7f4967e (diff) | |
download | XMonadContrib-346cc3269ee31062fa7eb560f90c4059c6279962.tar.gz XMonadContrib-346cc3269ee31062fa7eb560f90c4059c6279962.tar.xz XMonadContrib-346cc3269ee31062fa7eb560f90c4059c6279962.zip |
Fix type signatures.
Think this fixes the rest of the errors caused by the Layout change.
darcs-hash:20070619220323-ea16c-3274cd24d01bc932089ab88191ccda316ea93b01.gz
Diffstat (limited to '')
-rw-r--r-- | WorkspaceDir.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WorkspaceDir.hs b/WorkspaceDir.hs index cd84263..dba4b35 100644 --- a/WorkspaceDir.hs +++ b/WorkspaceDir.hs @@ -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) |