summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-12-04 22:03:38 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-12-04 22:03:38 +0000
commita84f16a9ad2ed0f874d2c1816aedee96725d2657 (patch)
tree26a8489882186f081d8ec88d4d194e531fa30050 /miext
parent33fdd50a94baab1db342bfce442907db8f8ad03e (diff)
downloadxserver-a84f16a9ad2ed0f874d2c1816aedee96725d2657.tar.gz
XFree86 4.3.99.901 (RC 1)xf86-4_3_99_901
Diffstat (limited to 'miext')
-rw-r--r--miext/rootless/rootlessWindow.c10
1 files changed, 2 insertions, 8 deletions
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) {