Fix random flash of corruption when first presenting the overlay or a notification

This commit is contained in:
Pierre-Loup Griffais 2014-07-15 15:21:36 -08:00 committed by Pierre-Loup A. Griffais
parent e512d3ee1b
commit acbd2c8d7c
2 changed files with 10 additions and 0 deletions

7
debian/changelog vendored
View file

@ -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

View file

@ -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)