From a84f16a9ad2ed0f874d2c1816aedee96725d2657 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Thu, 4 Dec 2003 22:03:38 +0000 Subject: XFree86 4.3.99.901 (RC 1) --- miext/rootless/rootlessWindow.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'miext') diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c index ac0f9f0b1..b970399c7 100644 --- a/miext/rootless/rootlessWindow.c +++ b/miext/rootless/rootlessWindow.c @@ -28,7 +28,7 @@ * holders shall not be used in advertising or otherwise to promote the sale, * use or other dealings in this Software without prior written authorization. */ -/* $XFree86: xc/programs/Xserver/miext/rootless/rootlessWindow.c,v 1.10 2003/11/13 20:26:31 torrey Exp $ */ +/* $XFree86: xc/programs/Xserver/miext/rootless/rootlessWindow.c,v 1.11 2003/11/27 01:53:39 torrey Exp $ */ #include "rootlessCommon.h" #include "rootlessWindow.h" @@ -1042,7 +1042,6 @@ FinishFrameResize(WindowPtr pWin, Bool gravity, int oldX, int oldY, { ScreenPtr pScreen = pWin->drawable.pScreen; RootlessWindowRec *winRec = WINREC(pWin); - BoxRec box; int i; RootlessStopDrawing(pWin, FALSE); @@ -1065,12 +1064,7 @@ FinishFrameResize(WindowPtr pWin, Bool gravity, int oldX, int oldY, /* Redraw everything. FIXME: there must be times when we don't need to do this. Perhaps when top-left weighting and no gravity? */ - box.x1 = 0; - box.y1 = 0; - box.x2 = winRec->width; - box.y2 = winRec->height; - - RootlessDamageBox(pWin, &box); + RootlessDamageRect(pWin, -newBW, -newBW, newW, newH); for (i = 0; i < 2; i++) { if (gResizeDeathPix[i] != NULL) { -- cgit v1.2.3