2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
* registryd/deviceeventcontroller.c (global_filter_fn):
When an event is consumed discard any XEvents were added to
the queue while dealing with the the event. This can happen if
processing of the event takes a long time. Call XUngrabKeyboard
if an event was discarded. This fixes bug $124837.
Only call wait_for_release_event for a KeyPress.
Use local variable display instead of spi_get_display().
(spi_controller_update_key_grabs): Move call to keycode_for_keysym
outside for loop.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@578
e2bd861d-eb25-0410-b326-
f6ed22b6b98c