diff options
Diffstat (limited to 'unix/xserver/hw/vnc/xvnc.cc')
-rw-r--r-- | unix/xserver/hw/vnc/xvnc.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc index a6f27b34..15235e10 100644 --- a/unix/xserver/hw/vnc/xvnc.cc +++ b/unix/xserver/hw/vnc/xvnc.cc @@ -630,7 +630,11 @@ vfbInstallColormap(ColormapPtr pmap) for (i = 0; i < entries; i++) ppix[i] = i; /* XXX truecolor */ +#if XORG < 19 QueryColors(pmap, entries, ppix, prgb); +#else + QueryColors(pmap, entries, ppix, prgb, serverClient); +#endif for (i = 0; i < entries; i++) { /* convert xrgbs to xColorItems */ defs[i].pixel = ppix[i] & 0xff; /* change pixel to index */ |