+2002-05-10 Bill Haneman <bill.haneman@sun.com>
+
+ * registryd/deviceeventcontroller.c:
+ Fixed bug in grab key conversion which was causing keycode grabs
+ to be converted to AnyKey grabs.
+
+ * NEWS:
+ updated NEWS file to reflect recent spin-off of gnome-mag.
+
2002-05-09 Bill Haneman <bill.haneman@sun.com>
* cspi/spi_registry.c:
+(top)
+What's new in at-spi-0.13.1:
+
+(note: 0.13.1 is not binary compatible with 0.12.1, clients will need
+ to recompile )
+
+* fix for bugzilla bug 80616
+* IDL change which will affect direct CORBA users of the keystroke
+ listener API
+* added a new test harness, event-listener-test, which also
+ has a simple tree traversal timing benchmark. event-listener-test
+ attaches listeners to all currently supported events (and a few
+ events which are not fully implemented yet); it thus serves
+ as useful event listener sample code as well as being a diagnostic
+ tool.
+
What's new in at-spi-0.12.1:
* fixes for bugzilla bugs 78249,68929,76615,71686,72300,78247,72300,78249
#include <config.h>
#undef SPI_DEBUG
-#define SPI_KEYEVENT_DEBUG
+#undef SPI_KEYEVENT_DEBUG
#include <string.h>
#include <ctype.h>
Accessibility_KeyDefinition keydef = key_listener->keys->_buffer[i];
long int key_val = keydef.keysym;
/* X Grabs require keycodes, not keysyms */
- if (keydef.keystring)
+ if (keydef.keystring && keydef.keystring[0])
{
key_val = XStringToKeysym(keydef.keystring);
}
key_val = keydef.keycode;
}
grab_mask.key_val = key_val;
-
process_cb (controller, &grab_mask);
}
}
for (i = 0; i < len; ++i)
{
#ifdef SPI_KEYEVENT_DEBUG
- g_print ("key_set[%d] = %d; key_event %d, code %d\n",
+ g_print ("key_set[%d] = %d; key_event %d, code %d, string %s\n",
i, (int) key_set->_buffer[i].keycode,
- (int) key_event->id, (int) key_event->hw_code);
+ (int) key_event->id, (int) key_event->hw_code,
+ key_event->event_string);
#endif
if (key_set->_buffer[i].keysym == (CORBA_long) key_event->id)
{
{
return TRUE;
}
- if (key_event->event_string && key_event->event_string[0] && !strcmp
- (key_set->_buffer[i].keystring, key_event->event_string))
+ if (key_event->event_string && key_event->event_string[0] &&
+ !strcmp (key_set->_buffer[i].keystring, key_event->event_string))
{
return TRUE;
}