aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/ChWindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/ChWindow.c')
-rw-r--r--nx-X11/lib/X11/ChWindow.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/nx-X11/lib/X11/ChWindow.c b/nx-X11/lib/X11/ChWindow.c
index a403d76d8..615b6d27c 100644
--- a/nx-X11/lib/X11/ChWindow.c
+++ b/nx-X11/lib/X11/ChWindow.c
@@ -44,20 +44,11 @@ unsigned int width, height;
req->window = w;
req->mask = CWWidth | CWHeight;
-#ifdef MUSTCOPY
- {
- unsigned long lwidth = width, lheight = height;
- dpy->bufptr -= 8;
- Data32 (dpy, (long *) &lwidth, 4); /* order dictated by values of */
- Data32 (dpy, (long *) &lheight, 4); /* CWWidth and CWHeight */
- }
-#else
{
CARD32 *valuePtr = (CARD32 *) NEXTPTR(req,xConfigureWindowReq);
*valuePtr++ = width;
*valuePtr = height;
}
-#endif /* MUSTCOPY */
UnlockDisplay(dpy);
SyncHandle();
return 1;