[PATCH 30/30] xnest: Stop setting keySyms for nothing.

Cyril Brulebois kibi at debian.org
Fri May 20 08:35:40 PDT 2011


Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 hw/xnest/Keyboard.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/hw/xnest/Keyboard.c b/hw/xnest/Keyboard.c
index ec629dc..37cf1c3 100644
--- a/hw/xnest/Keyboard.c
+++ b/hw/xnest/Keyboard.c
@@ -117,7 +117,6 @@ xnestKeyboardProc(DeviceIntPtr pDev, int onoff)
   KeySym *keymap;
   int mapWidth;
   int min_keycode, max_keycode;
-  KeySymsRec keySyms;
   int i;
   XKeyboardState values;
   XkbDescPtr xkb;
@@ -147,11 +146,6 @@ xnestKeyboardProc(DeviceIntPtr pDev, int onoff)
 				   max_keycode - min_keycode + 1,
 				   &mapWidth);
 #endif
-      
-      keySyms.minKeyCode = min_keycode;
-      keySyms.maxKeyCode = max_keycode;
-      keySyms.mapWidth = mapWidth;
-      keySyms.map = keymap;
 
       if (XkbQueryExtension(xnestDisplay, &op, &event, &error, &major, &minor) == 0) {
           ErrorF("Unable to initialize XKEYBOARD extension.\n");
-- 
1.7.5.1



More information about the xorg-devel mailing list