From 508debd233d9bddf5f5f8c8ad071fcbe52da4f0e Mon Sep 17 00:00:00 2001 From: Devin Mullins Date: Sun, 21 Sep 2008 03:11:59 +0200 Subject: cleanup - use currentTag darcs-hash:20080921011159-78224-b0ac172560719cba3a1c41171d91e222a6fa1304.gz --- XMonad/Actions/PerWorkspaceKeys.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XMonad/Actions/PerWorkspaceKeys.hs') 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. -- cgit v1.2.3