aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XserverDesktop.cc
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2009-01-27 15:07:15 +0000
committerPeter Åstrand <astrand@cendio.se>2009-01-27 15:07:15 +0000
commit0541961ecb0f6979bf738c736cf1f3d6e247df6f (patch)
tree518472c8e644f5637eabca5cd75efb7eac965273 /unix/xserver/hw/vnc/XserverDesktop.cc
parente21ac1b1d32a5ec0903b920b76d44943a09fb597 (diff)
downloadtigervnc-0541961ecb0f6979bf738c736cf1f3d6e247df6f.tar.gz
tigervnc-0541961ecb0f6979bf738c736cf1f3d6e247df6f.zip
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
Diffstat (limited to 'unix/xserver/hw/vnc/XserverDesktop.cc')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc
index da4935ac..c5a99216 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.cc
+++ b/unix/xserver/hw/vnc/XserverDesktop.cc
@@ -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 */