GNOME Bugzilla – Bug 368438
Start looking for state focus events
Last modified: 2006-11-01 15:51:48 UTC
Focus events are no longer fired when an application is reactivated after another becomes active. Instead, object:state-changed:focused events are fired instead. Unfortunately, the state changed event for focused is fired in other situations as well, so we have to be intelligent about which ones we want to treat as real focus events and which ones we want to discard.
Added support for handling focused state changes and firing internal FocusChange events for scripts. Need better logic for filtering focus repeats and focused state changes on unimportant accessibles.
Implemented better focus change filtering of focused state changes. The fixes now correctly handle switching to another app, switching to another window within the same app, activating the metacity switchers and immediately returning to the same app, and minimizing/restoring an app. This makes the behavior of LSR scripts the same as in 2.14.