From 24cdd188dc3c10b56d6a7b46dafefb16c6d13efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Fri, 14 Jan 2005 22:07:59 +0000 Subject: [PATCH] =?UTF-8?q?Fri=20Jan=2014=2017:03:40=202005=20S=C3=B8ren?= =?UTF-8?q?=20Sandmann=20=20Fix=20from=20Keith=20Pack?= =?UTF-8?q?ard=20for=20bitgravity=20bugs=20in=20the=20Composite=20extensio?= =?UTF-8?q?n,=20=20=20=20=20reported=20by=20Amir=20Bukhari.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mi/miwindow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mi/miwindow.c b/mi/miwindow.c index 4eac9226c..545fb3307 100644 --- a/mi/miwindow.c +++ b/mi/miwindow.c @@ -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 */