mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-25 17:21:51 -07:00
fix CopyWindow to not require Integral WorkspaceId.
This commit is contained in:
@@ -47,7 +47,7 @@ import StackSet
|
||||
copy :: WorkspaceId -> X ()
|
||||
copy n = windows (copy' n)
|
||||
|
||||
copy' :: (Ord a, Eq s, Integral i) => i -> StackSet i a s sd -> StackSet i a s sd
|
||||
copy' :: (Ord a, Eq s, Eq i) => i -> StackSet i a s sd -> StackSet i a s sd
|
||||
copy' n s = if n `tagMember` s && n /= tag (workspace (current s))
|
||||
then maybe s go (peek s)
|
||||
else s
|
||||
|
Reference in New Issue
Block a user