mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-07 15:41:52 -07:00
fmt, and tiny comment seeking clarification
This commit is contained in:
@@ -503,6 +503,7 @@ shift n s | n `tagMember` s && n /= curtag = maybe s go (peek s)
|
|||||||
where go w = view curtag . insertUp w . view n . delete' w $ s
|
where go w = view curtag . insertUp w . view n . delete' w $ s
|
||||||
curtag = tag (workspace (current s))
|
curtag = tag (workspace (current s))
|
||||||
|
|
||||||
|
-- TODO how does this duplicate 'shift's behaviour?
|
||||||
shiftWin :: (Ord a, Eq a, Eq s, Eq i) => i -> a -> StackSet i a s sd -> StackSet i a s sd
|
shiftWin :: (Ord a, Eq a, Eq s, Eq i) => i -> a -> StackSet i a s sd -> StackSet i a s sd
|
||||||
shiftWin n w s | from == Nothing = s
|
shiftWin n w s | from == Nothing = s
|
||||||
| n `tagMember` s && (Just n) /= from = go
|
| n `tagMember` s && (Just n) /= from = go
|
||||||
|
Reference in New Issue
Block a user