aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/PerWorkspaceKeys.hs
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2008-09-21 03:11:59 +0200
committerDevin Mullins <me@twifkak.com>2008-09-21 03:11:59 +0200
commit508debd233d9bddf5f5f8c8ad071fcbe52da4f0e (patch)
treeacf8b9e46e295dbb61db0b137456d4e32505da2d /XMonad/Actions/PerWorkspaceKeys.hs
parent4f7c0734e3736dce79dda5656f6bd88540d9e9d1 (diff)
downloadXMonadContrib-508debd233d9bddf5f5f8c8ad071fcbe52da4f0e.tar.gz
XMonadContrib-508debd233d9bddf5f5f8c8ad071fcbe52da4f0e.tar.xz
XMonadContrib-508debd233d9bddf5f5f8c8ad071fcbe52da4f0e.zip
cleanup - use currentTag
darcs-hash:20080921011159-78224-b0ac172560719cba3a1c41171d91e222a6fa1304.gz
Diffstat (limited to 'XMonad/Actions/PerWorkspaceKeys.hs')
-rw-r--r--XMonad/Actions/PerWorkspaceKeys.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Actions/PerWorkspaceKeys.hs b/XMonad/Actions/PerWorkspaceKeys.hs
index 9dd6a5d..dcf1a9b 100644
--- a/XMonad/Actions/PerWorkspaceKeys.hs
+++ b/XMonad/Actions/PerWorkspaceKeys.hs
@@ -36,7 +36,7 @@ import Data.List (find)
-- | Uses supplied function to decide which action to run depending on current workspace name.
chooseAction :: (String->X()) -> X()
-chooseAction f = withWindowSet (f . S.tag . S.workspace . S.current)
+chooseAction f = withWindowSet (f . S.currentTag)
-- | If current workspace is listed, run appropriate action (only the first match counts!)
-- If it isn't listed, then run default action (marked with empty string, \"\"), or do nothing if default isn't supplied.