aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/RestackWs.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/RestackWs.c')
-rw-r--r--nx-X11/lib/X11/RestackWs.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/nx-X11/lib/X11/RestackWs.c b/nx-X11/lib/X11/RestackWs.c
index 1887e7c73..ab5386251 100644
--- a/nx-X11/lib/X11/RestackWs.c
+++ b/nx-X11/lib/X11/RestackWs.c
@@ -38,9 +38,6 @@ XRestackWindows (dpy, windows, n)
int n;
{
int i = 0;
-#ifdef MUSTCOPY
- unsigned long val = Below; /* needed for macro below */
-#endif
LockDisplay(dpy);
while (windows++, ++i < n) {
@@ -49,19 +46,13 @@ XRestackWindows (dpy, windows, n)
GetReqExtra (ConfigureWindow, 8, req);
req->window = *windows;
req->mask = CWSibling | CWStackMode;
-#ifdef MUSTCOPY
- dpy->bufptr -= 8;
- Data32 (dpy, (long *)(windows-1), 4);
- Data32 (dpy, (long *)&val, 4);
-#else
{
register CARD32 *values = (CARD32 *)
NEXTPTR(req,xConfigureWindowReq);
*values++ = *(windows-1);
*values = Below;
}
-#endif /* MUSTCOPY */
- }
+ }
UnlockDisplay(dpy);
SyncHandle();
return 1;