aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/CrWindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/CrWindow.c')
-rw-r--r--libX11/src/CrWindow.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libX11/src/CrWindow.c b/libX11/src/CrWindow.c
index 347e9a022..84101ff9b 100644
--- a/libX11/src/CrWindow.c
+++ b/libX11/src/CrWindow.c
@@ -61,20 +61,11 @@ Window XCreateSimpleWindow(
wid = req->wid = XAllocID(dpy);
req->mask = CWBackPixel | CWBorderPixel;
-#ifdef MUSTCOPY
- {
- unsigned long lbackground = background, lborder = border;
- dpy->bufptr -= 8;
- Data32 (dpy, (long *) &lbackground, 4);
- Data32 (dpy, (long *) &lborder, 4);
- }
-#else
{
register CARD32 *valuePtr = (CARD32 *) NEXTPTR(req,xCreateWindowReq);
*valuePtr++ = background;
*valuePtr = border;
}
-#endif /* MUSTCOPY */
UnlockDisplay(dpy);
SyncHandle();