Corrected backing store put/get in the case of obscuring windows.

The OpenGL version was disabling backing store while any window
obscures the layout;  the Cairo version was not.
This commit is contained in:
Tim Edwards 2017-09-15 21:12:44 -04:00
parent f754270e0a
commit 074553a1e4
1 changed files with 6 additions and 0 deletions

View File

@ -385,6 +385,12 @@ grtcairoPutBackingStore(MagWindow *w, Rect *area)
if (w->w_backingStore == (ClientData)0) return;
if (w->w_flags & WIND_OBSCURED)
{
grtcairoFreeBackingStore(w);
return;
}
xbot = area->r_xbot;
ybot = area->r_ybot;