Fix regression from recent composite changes.

One pWin->redirectDraw test was converted incorrectly, causing incorrect
rendering in some cases.
This commit is contained in:
Michel Dänzer 2007-07-09 08:47:05 +02:00
parent bcb2352742
commit 5957aa6fdc

View File

@ -481,7 +481,7 @@ compReparentWindow (WindowPtr pWin, WindowPtr pPriorParent)
/*
* Reset pixmap pointers as appropriate
*/
if (pWin->parent && pWin->redirectDraw != RedirectDrawNone)
if (pWin->parent && pWin->redirectDraw == RedirectDrawNone)
compSetPixmap (pWin, (*pScreen->GetWindowPixmap) (pWin->parent));
/*
* Call down to next function