From 1486d67a231318225622bcb61e9d6754b685a1d5 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Sun, 25 Nov 2007 13:14:18 +0100 Subject: CopyWindow: fixed docs darcs-hash:20071125121418-32816-f3bdb352f8a16dd5ca9d2ba0bf8a96196e4b4d41.gz --- XMonad/Actions/CopyWindow.hs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'XMonad/Actions/CopyWindow.hs') 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: -- cgit v1.2.3