mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
X.L.Decoration: avoid flicker by not showing decowins without rectangles
These would be hidden by updateDecos immediately after being shown. This caused flicker with simpleTabbed and only one window on a workspace.
This commit is contained in:
@@ -362,7 +362,7 @@ createDecoWindow t r = let mask = Just (exposureMask .|. buttonPressMask) in
|
||||
createNewWindow r mask (inactiveColor t) True
|
||||
|
||||
showDecos :: [DecoWin] -> X ()
|
||||
showDecos = showWindows . catMaybes . map fst
|
||||
showDecos = showWindows . catMaybes . map fst . filter (isJust . snd)
|
||||
|
||||
hideDecos :: [DecoWin] -> X ()
|
||||
hideDecos = hideWindows . catMaybes . map fst
|
||||
|
Reference in New Issue
Block a user