File xorg-server-xf4vnc-keyboard.diff of Package xorg-x11-server

--- hw/vnc/kbdptr.c-orig	2009-05-17 22:59:19.000000000 +0200
+++ hw/vnc/kbdptr.c	2009-05-17 23:02:03.000000000 +0200
@@ -142,10 +142,10 @@
     Bool shiftMustBeReleased = FALSE;
     Bool shiftMustBePressed = FALSE;
 
-    if (!kbdDevice)
+    if (!inputInfo.keyboard)
         return;
 
-    keySyms = &kbdDevice->key->curKeySyms;
+    keySyms = &inputInfo.keyboard->key->curKeySyms;
 
 #ifdef CORBA
     if (cl) {
openSUSE Build Service is sponsored by