diff options
author | Devin Mullins <me@twifkak.com> | 2008-09-21 03:11:59 +0200 |
---|---|---|
committer | Devin Mullins <me@twifkak.com> | 2008-09-21 03:11:59 +0200 |
commit | 508debd233d9bddf5f5f8c8ad071fcbe52da4f0e (patch) | |
tree | acf8b9e46e295dbb61db0b137456d4e32505da2d /XMonad/Actions/SwapWorkspaces.hs | |
parent | 4f7c0734e3736dce79dda5656f6bd88540d9e9d1 (diff) | |
download | XMonadContrib-508debd233d9bddf5f5f8c8ad071fcbe52da4f0e.tar.gz XMonadContrib-508debd233d9bddf5f5f8c8ad071fcbe52da4f0e.tar.xz XMonadContrib-508debd233d9bddf5f5f8c8ad071fcbe52da4f0e.zip |
cleanup - use currentTag
darcs-hash:20080921011159-78224-b0ac172560719cba3a1c41171d91e222a6fa1304.gz
Diffstat (limited to 'XMonad/Actions/SwapWorkspaces.hs')
-rw-r--r-- | XMonad/Actions/SwapWorkspaces.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Actions/SwapWorkspaces.hs b/XMonad/Actions/SwapWorkspaces.hs index c9b1143..9890ef2 100644 --- a/XMonad/Actions/SwapWorkspaces.hs +++ b/XMonad/Actions/SwapWorkspaces.hs @@ -48,7 +48,7 @@ import XMonad.Util.WorkspaceCompare -- | Swaps the currently focused workspace with the given workspace tag, via -- @swapWorkspaces@. 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 +swapWithCurrent t s = swapWorkspaces t (currentTag s) s -- | Say @swapTo Next@ or @swapTo Prev@ to move your current workspace. -- This is an @X ()@ so can be hooked up to your keybindings directly. |