From 47589e1913fb9530481caedb543978a30d4323ea Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Thu, 1 Nov 2007 19:28:24 +0100 Subject: Use hierarchical module names from the core darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz --- SwapWorkspaces.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SwapWorkspaces.hs') diff --git a/SwapWorkspaces.hs b/SwapWorkspaces.hs index dfcff81..735426f 100644 --- a/SwapWorkspaces.hs +++ b/SwapWorkspaces.hs @@ -20,7 +20,7 @@ module XMonadContrib.SwapWorkspaces ( swapWorkspaces ) where -import StackSet +import XMonad.StackSet -- $usage -- Add this import to your Config.hs: @@ -46,7 +46,7 @@ import StackSet swapWithCurrent :: Eq i => i -> StackSet i l a s sd -> StackSet i l a s sd swapWithCurrent t s = swapWorkspaces t (tag $ workspace $ current s) s --- | Takes two workspace tags and an existing StackSet and returns a new +-- | Takes two workspace tags and an existing XMonad.StackSet and returns a new -- one with the two corresponding workspaces' tags swapped. swapWorkspaces :: Eq i => i -> i -> StackSet i l a s sd -> StackSet i l a s sd swapWorkspaces t1 t2 = mapWorkspace swap -- cgit v1.2.3