Fix regression from recent composite changes.
One pWin->redirectDraw test was converted incorrectly, causing incorrect rendering in some cases.
This commit is contained in:
parent
bcb2352742
commit
5957aa6fdc
|
@ -481,7 +481,7 @@ compReparentWindow (WindowPtr pWin, WindowPtr pPriorParent)
|
||||||
/*
|
/*
|
||||||
* Reset pixmap pointers as appropriate
|
* Reset pixmap pointers as appropriate
|
||||||
*/
|
*/
|
||||||
if (pWin->parent && pWin->redirectDraw != RedirectDrawNone)
|
if (pWin->parent && pWin->redirectDraw == RedirectDrawNone)
|
||||||
compSetPixmap (pWin, (*pScreen->GetWindowPixmap) (pWin->parent));
|
compSetPixmap (pWin, (*pScreen->GetWindowPixmap) (pWin->parent));
|
||||||
/*
|
/*
|
||||||
* Call down to next function
|
* Call down to next function
|
||||||
|
|
Loading…
Reference in New Issue