aboutsummaryrefslogtreecommitdiffstats
path: root/SwapWorkspaces.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-11-01 19:28:24 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-11-01 19:28:24 +0100
commit47589e1913fb9530481caedb543978a30d4323ea (patch)
tree19022a16da5de1dc953816d896604c6128b056f6 /SwapWorkspaces.hs
parenteeda11be4ab1292fb3c9f0e7e5997d1542cfcf3f (diff)
downloadXMonadContrib-47589e1913fb9530481caedb543978a30d4323ea.tar.gz
XMonadContrib-47589e1913fb9530481caedb543978a30d4323ea.tar.xz
XMonadContrib-47589e1913fb9530481caedb543978a30d4323ea.zip
Use hierarchical module names from the core
darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
Diffstat (limited to '')
-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