mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-05 06:31:53 -07:00
DynamicLog.hs: fix shadowing warning
This commit is contained in:
@@ -145,7 +145,7 @@ pprWindowSet spaces urgents pp s = sepBy (ppWsSep pp) $ map fmt $ sortBy cmp
|
|||||||
fmt w = printer pp (S.tag w)
|
fmt w = printer pp (S.tag w)
|
||||||
where printer | S.tag w == this = ppCurrent
|
where printer | S.tag w == this = ppCurrent
|
||||||
| S.tag w `elem` visibles = ppVisible
|
| S.tag w `elem` visibles = ppVisible
|
||||||
| any (\x -> maybe False (== S.tag w) (S.findTag x s)) urgents = \pp -> ppUrgent pp . ppHidden pp
|
| any (\x -> maybe False (== S.tag w) (S.findTag x s)) urgents = \ppC -> ppUrgent ppC . ppHidden ppC
|
||||||
| isJust (S.stack w) = ppHidden
|
| isJust (S.stack w) = ppHidden
|
||||||
| otherwise = ppHiddenNoWindows
|
| otherwise = ppHiddenNoWindows
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user