summaryrefslogtreecommitdiff
path: root/src/SetStCmap.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2007-10-24 19:22:22 +0300
committerDaniel Stone <daniel@fooishbar.org>2007-10-24 19:22:22 +0300
commite41477f37b0d9b74a056d22dbf0073a94eecb9d6 (patch)
tree598d63f253ca6ba9350d602cdec20650ccaaacfd /src/SetStCmap.c
parent11ea09745efa8de7dc82fe30ebd2393f08390957 (diff)
downloadxorg-lib-libX11-e41477f37b0d9b74a056d22dbf0073a94eecb9d6.tar.gz
Colours: Fix --disable-xcms
Disable large tracts of colour management code when passing --disable-xcms.
Diffstat (limited to 'src/SetStCmap.c')
-rw-r--r--src/SetStCmap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SetStCmap.c b/src/SetStCmap.c
index aeae6cd7..7978f1dd 100644
--- a/src/SetStCmap.c
+++ b/src/SetStCmap.c
@@ -88,6 +88,9 @@ void XSetStandardColormap(
stdcmap.visualid = sp->root_visual->visualid;
stdcmap.killid = None; /* don't know how to kill this one */
+#ifdef XCMS
XSetRGBColormaps (dpy, w, &stdcmap, 1, property);
+#endif
+
return;
}