Fix for #143702.
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Wed, 19 Jul 2006 20:37:12 +0000 (20:37 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Wed, 19 Jul 2006 20:37:12 +0000 (20:37 +0000)
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@842 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
registryd/deviceeventcontroller.c

index c535799..b767326 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,12 @@
        Reworked inclusion of Bonobo_Unknown.idl, to 
        avoid double-linking libs in the Bonobo environment.
        Thanks to Michael Meeks for the workaround, see bug #313122.
+
+       * registryd/deviceeventcontroller.c:
+       (spi_controller_notify_keylisteners): 
+       Set the SPI_NUMLOCK_MASK bit if the modifier 
+       corresponding to the conceptual numlock state is set.
+       Bug #143702.
        
 2006-07-18  Bill Haneman <billh@gnome.org> modifications to patch from
 
index a4f9719..347a1a6 100644 (file)
@@ -1440,6 +1440,10 @@ spi_controller_notify_keylisteners (SpiDEController                 *controller,
       return FALSE;
     }
 
+  /* set the NUMLOCK event mask bit if appropriate: see bug #143702 */
+  if (key_event->modifiers & _numlock_physical_mask)
+      key_event->modifiers |= SPI_KEYMASK_NUMLOCK;
+
   for (l = *key_listeners; l; l = l->next)
     {
        DEControllerKeyListener *key_listener = l->data;