aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions/PerWorkspaceKeys.hs
diff options
context:
space:
mode:
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.