aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-11-25 13:14:18 +0100
committerAndrea Rossato <andrea.rossato@unibz.it>2007-11-25 13:14:18 +0100
commit1486d67a231318225622bcb61e9d6754b685a1d5 (patch)
tree37c447c519a36ae0fcd5ca8b18ecce3681d51a49 /XMonad/Actions
parent7614216b824063b7f6b4a65f7754f925f13d93ec (diff)
downloadXMonadContrib-1486d67a231318225622bcb61e9d6754b685a1d5.tar.gz
XMonadContrib-1486d67a231318225622bcb61e9d6754b685a1d5.tar.xz
XMonadContrib-1486d67a231318225622bcb61e9d6754b685a1d5.zip
CopyWindow: fixed docs
darcs-hash:20071125121418-32816-f3bdb352f8a16dd5ca9d2ba0bf8a96196e4b4d41.gz
Diffstat (limited to 'XMonad/Actions')
-rw-r--r--XMonad/Actions/CopyWindow.hs11
1 files changed, 8 insertions, 3 deletions
diff --git a/XMonad/Actions/CopyWindow.hs b/XMonad/Actions/CopyWindow.hs
index 17b5821..ac530da 100644
--- a/XMonad/Actions/CopyWindow.hs
+++ b/XMonad/Actions/CopyWindow.hs
@@ -39,9 +39,14 @@ import XMonad.StackSet
-- > -- mod-[1..9] @@ Switch to workspace N
-- > -- mod-shift-[1..9] @@ Move client to workspace N
-- > -- mod-control-shift-[1..9] @@ Copy client to workspace N
--- > [((m .|. modMask x, k), f i)
--- > | (i, k) <- zip workspaces [xK_1 ..]
--- > , (f, m) <- [(view, 0), (shift, shiftMask), (copy, shiftMask .|. controlMask)]]
+-- > [((m .|. modMask x, k), windows $ f i)
+-- > | (i, k) <- zip (workspaces x) [xK_1 ..]
+-- > , (f, m) <- [(W.view, 0), (W.shift, shiftMask), (copy, shiftMask .|. controlMask)]]
+--
+-- To use the above key bindings you need also to import
+-- "XMonad.StackSet":
+--
+-- > import qualified XMonad.StackSet as W
--
-- You may also wish to redefine the binding to kill a window so it only
-- removes it from the current workspace, if it's present elsewhere: