Commit 28f5eef2 authored by Mike Gorse's avatar Mike Gorse

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 a0af0bcb.
parent 2c39eb48
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment