[PATCH 12/13] Cygwin/X: Fix the keyboard mode key synchronization

Colin Harrison colin.harrison at virgin.net
Mon Jan 26 02:15:35 PST 2009


Hi,

This one will not work with upstream git if using the
'inputInfo.keyboard->key->state', but is OK otherwise
Better to... 

     mieqProcessInputEvents ();
   
   /* Read the mode key states of our X server */
-  internalKeyStates = *g_winInternalModeKeyStatesPtr;
+  internalKeyStates =
XkbStateFieldFromRec(&inputInfo.keyboard->key->xkbInfo->state);
 
   /* 
    * NOTE: The C XOR operator, ^, will not work here because it is

Thanks
Colin




More information about the xorg mailing list