Reverted the dixLookupResourceByType part of r3573 - this function exists only after patching with patch from https://bugzilla.redhat.com/show_bug.cgi?id=430416, but we want to be compatible with vanilla versions.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3581 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc
index da4935a..c5a9921 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.cc
+++ b/unix/xserver/hw/vnc/XserverDesktop.cc
@@ -263,7 +263,7 @@
int i;
pointer retval;
- i = dixLookupResourceByType(&retval, pScreen->defColormap, RT_COLORMAP, NullClient,
+ i = dixLookupResource(&retval, pScreen->defColormap, RT_COLORMAP, NullClient,
DixReadAccess);
/* Handle suspicious conditions */