From 687d44b6eaa3c64a12af9bbd557b401419b208eb Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 29 Jul 2016 00:44:38 +0200 Subject: update src files *[ch] to libX11 1.3.4 --- nx-X11/lib/X11/CrCmap.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'nx-X11/lib/X11/CrCmap.c') diff --git a/nx-X11/lib/X11/CrCmap.c b/nx-X11/lib/X11/CrCmap.c index 30e1a89c9..9904c7dda 100644 --- a/nx-X11/lib/X11/CrCmap.c +++ b/nx-X11/lib/X11/CrCmap.c @@ -31,11 +31,11 @@ in this Software without prior written authorization from The Open Group. #include "Xcmsint.h" -Colormap XCreateColormap(dpy, w, visual, alloc) -register Display *dpy; -Window w; -Visual *visual; -int alloc; +Colormap XCreateColormap( + register Display *dpy, + Window w, + Visual *visual, + int alloc) { register xCreateColormapReq *req; Colormap mid; @@ -51,7 +51,9 @@ int alloc; UnlockDisplay(dpy); SyncHandle(); +#ifdef XCMS _XcmsAddCmapRec(dpy, mid, w, visual); +#endif return(mid); } -- cgit v1.2.3