]> source.dussan.org Git - tigervnc.git/commitdiff
Reverted the dixLookupResourceByType part of r3573 - this function exists only after...
authorPeter Åstrand <astrand@cendio.se>
Tue, 27 Jan 2009 15:07:15 +0000 (15:07 +0000)
committerPeter Åstrand <astrand@cendio.se>
Tue, 27 Jan 2009 15:07:15 +0000 (15:07 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3581 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/XserverDesktop.cc

index da4935acf3bfa60ba357a8f22be49113cd92bc16..c5a99216dc93738162373128536ffe95a0462750 100644 (file)
@@ -263,7 +263,7 @@ void XserverDesktop::serverReset(ScreenPtr pScreen_)
   int i;
   pointer retval;
 
-  i = dixLookupResourceByType(&retval, pScreen->defColormap, RT_COLORMAP, NullClient,
+  i = dixLookupResource(&retval, pScreen->defColormap, RT_COLORMAP, NullClient,
                        DixReadAccess);
 
   /* Handle suspicious conditions */