mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-25 17:21:51 -07:00
fix problem found by Heffalump in CopyWindow.
This commit is contained in:
@@ -55,8 +55,7 @@ import StackSet
|
||||
-- %keybindlist , (f, m) <- [(view, 0), (shift, shiftMask), (copy, shiftMask .|. controlMask)]]
|
||||
|
||||
-- | copy. Copy a window to a new workspace.
|
||||
copy :: WorkspaceId -> X ()
|
||||
copy n = windows copy'
|
||||
copy n = copy'
|
||||
where copy' s = if n `tagMember` s && n /= tag (workspace (current s))
|
||||
then maybe s (go s) (peek s)
|
||||
else s
|
||||
|
Reference in New Issue
Block a user