diff options
author | Daniel Stone <daniel@fooishbar.org> | 2007-10-24 19:22:22 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2007-10-24 19:22:22 +0300 |
commit | e41477f37b0d9b74a056d22dbf0073a94eecb9d6 (patch) | |
tree | 598d63f253ca6ba9350d602cdec20650ccaaacfd /src/SetStCmap.c | |
parent | 11ea09745efa8de7dc82fe30ebd2393f08390957 (diff) | |
download | xorg-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.c | 3 |
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; } |