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:
parent
7db2e666e2
commit
24cdd188dc
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user