[at-spi2-core/gnome-3-2] Revert "Fix for BGO#663992: set STATE_FOCUSED for a "focus" event"
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core/gnome-3-2] Revert "Fix for BGO#663992: set STATE_FOCUSED for a "focus" event"
- Date: Tue, 15 Nov 2011 14:52:22 +0000 (UTC)
commit 28f5eef2797f5a5e1b3d297ee04cd734240fbfc4
Author: Mike Gorse <mgorse novell com>
Date: Mon Nov 14 19:57:05 2011 -0600
Revert "Fix for BGO#663992: set STATE_FOCUSED for a "focus" event"
Some toolkits reportedly emit "focus" events for accessibles losing
focus, as well as gaining it, so this commit may cause problems.
This reverts commit a0af0bcb79087fc16328cfe69a6845040d504bd1.
atspi/atspi-event-listener.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/atspi/atspi-event-listener.c b/atspi/atspi-event-listener.c
index c07fa19..e02a12d 100644
--- a/atspi/atspi-event-listener.c
+++ b/atspi/atspi-event-listener.c
@@ -897,9 +897,6 @@ _atspi_dbus_handle_event (DBusConnection *bus, DBusMessage *message, void *data)
{
cache_process_state_changed (&e);
}
- /* see BGO#663992 */
- else if (!strncmp (e.type, "focus", 5) && e.source->states)
- e.source->states->states |= (1 << ATSPI_STATE_FOCUSED);
_atspi_send_event (&e);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]