aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/FreeCmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/FreeCmap.c')
-rw-r--r--nx-X11/lib/X11/FreeCmap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/FreeCmap.c b/nx-X11/lib/X11/FreeCmap.c
index d43358548..e2b76fa6f 100644
--- a/nx-X11/lib/X11/FreeCmap.c
+++ b/nx-X11/lib/X11/FreeCmap.c
@@ -44,6 +44,9 @@ XFreeColormap(
UnlockDisplay(dpy);
SyncHandle();
+#ifdef XCMS
_XcmsDeleteCmapRec(dpy, cmap);
+#endif
+
return 1;
}