aboutsummaryrefslogtreecommitdiffstats
path: root/SwapWorkspaces.hs
diff options
context:
space:
mode:
Diffstat (limited to 'SwapWorkspaces.hs')
-rw-r--r--SwapWorkspaces.hs4
1 files changed, 2 insertions, 2 deletions
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