2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
authorpadraigo <padraigo@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Mon, 15 Dec 2003 16:48:18 +0000 (16:48 +0000)
committerpadraigo <padraigo@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Mon, 15 Dec 2003 16:48:18 +0000 (16:48 +0000)
commita7e2f8e139fa0f20f1d8abd986285b96d9419aa8
treec0b104bf3f0d30b8bad92613ab9703232e0ee49d
parent047e232af3831fc0caa09a463fa6c2c17f72fc86
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
ChangeLog
registryd/deviceeventcontroller.c