Fri Jan 14 17:03:40 2005 Søren Sandmann <sandmann@redhat.com>

Fix from Keith Packard for bitgravity bugs in the Composite extension,
    reported by Amir Bukhari.
This commit is contained in:
Søren Sandmann Pedersen 2005-01-14 22:07:59 +00:00
parent 7db2e666e2
commit 24cdd188dc

View File

@ -883,8 +883,14 @@ miSlideAndSizeWindow(pWin, x, y, w, h, pSib)
/* and move those bits */
if (oldpt.x != x || oldpt.y != y)
if (oldpt.x != x || oldpt.y != y
#ifdef COMPOSITE
|| pWin->redirectDraw
#endif
)
{
(*pWin->drawable.pScreen->CopyWindow)(pWin, oldpt, gravitate[g]);
}
/* remove any overwritten bits from the remaining useful bits */