diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-07-09 08:47:05 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-07-09 08:47:05 +0200 |
commit | 5957aa6fdc580ccad4557eeefa0636ffad823f33 (patch) | |
tree | 94ae024ea67b09f838d88723761a0d523fed3518 /composite | |
parent | bcb23527421578bd4c9397d4c2c19cbefa22fc59 (diff) |
Fix regression from recent composite changes.
One pWin->redirectDraw test was converted incorrectly, causing incorrect
rendering in some cases.
Diffstat (limited to 'composite')
-rw-r--r-- | composite/compwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/composite/compwindow.c b/composite/compwindow.c index 6633163b5..a4c4e6f32 100644 --- a/composite/compwindow.c +++ b/composite/compwindow.c @@ -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 |