diff options
author | marha <marha@users.sourceforge.net> | 2010-09-11 08:41:00 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-09-11 08:41:00 +0000 |
commit | e172c89783326e2378e4793ff31a0f44210c5534 (patch) | |
tree | 7faed3d12aa20736af6a18fff1a5745cdf57de46 /xorg-server/mi/miwindow.c | |
parent | c3d4371fec1beb5b71d21a90be5db6d32c4c185f (diff) | |
download | vcxsrv-e172c89783326e2378e4793ff31a0f44210c5534.tar.gz vcxsrv-e172c89783326e2378e4793ff31a0f44210c5534.tar.bz2 vcxsrv-e172c89783326e2378e4793ff31a0f44210c5534.zip |
xserver git update 11/9/2010
Diffstat (limited to 'xorg-server/mi/miwindow.c')
-rw-r--r-- | xorg-server/mi/miwindow.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xorg-server/mi/miwindow.c b/xorg-server/mi/miwindow.c index 0fc6d1138..55a86dd13 100644 --- a/xorg-server/mi/miwindow.c +++ b/xorg-server/mi/miwindow.c @@ -66,7 +66,6 @@ miClearToBackground(WindowPtr pWin, {
BoxRec box;
RegionRec reg;
- RegionPtr pBSReg = NullRegion;
BoxPtr extents;
int x1, y1, x2, y2;
@@ -114,12 +113,10 @@ miClearToBackground(WindowPtr pWin, RegionIntersect(®, ®, &pWin->clipList);
if (generateExposures)
- (*pWin->drawable.pScreen->WindowExposures)(pWin, ®, pBSReg);
+ (*pWin->drawable.pScreen->WindowExposures)(pWin, ®, NULL);
else if (pWin->backgroundState != None)
miPaintWindow(pWin, ®, PW_BACKGROUND);
RegionUninit(®);
- if (pBSReg)
- RegionDestroy(pBSReg);
}
void
|