Fix random flash of corruption when first presenting the overlay or a notification
This commit is contained in:
parent
e512d3ee1b
commit
acbd2c8d7c
2 changed files with 10 additions and 0 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
|||
steamos-compositor (1.20) alchemist; urgency=medium
|
||||
|
||||
* Fix cases where notifications/overlays would start getting presented before
|
||||
the first frame had landed from Steam, resulting in a black flash.
|
||||
|
||||
-- Pierre-Loup A. Griffais <pgriffais@valvesoftware.com> Mon, 30 Jun 2014 15:54:03 -0700
|
||||
|
||||
steamos-compositor (1.19) alchemist; urgency=medium
|
||||
|
||||
* Integrate LunarG patch to exclude MS visuals; they can't be used for TFP on
|
||||
|
|
|
@ -606,6 +606,9 @@ paint_window (Display *dpy, win *w, Bool doBlend, Bool notificationMode)
|
|||
if (!w)
|
||||
return;
|
||||
|
||||
if (w->isOverlay && !w->damaged)
|
||||
return;
|
||||
|
||||
win *mainOverlayWindow = find_win(dpy, currentOverlayWindow);
|
||||
|
||||
if (notificationMode && !mainOverlayWindow)
|
||||
|
|
Loading…
Reference in a new issue