gnome-shell/js
Jasper St. Pierre 55edfd2e4a notificationDaemon: Focus the new window before destroying the notification
Destroying the notification will make the key focus be reset to NULL, which
means that gnome-shell will try to focus the MRU window, thinking the user is
done interacting and wants to go back to whatever they were doing.

Unfortunately, since we focus two windows at the same time, they will have
the same timestamp, meaning that the window that actually gets focused will
be a race as to whoever responds to their WM_TAKE_FOCUS event last.

If we explicitly set the focus beforehand, then gnome-shell will believe it
got key focus taken away from it, and won't try to focus the MRU when the
key focus drops to NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=703265
2013-10-08 13:05:34 -04:00
..
extensionPrefs extensionPrefs: Fix opening extension preferences on startup 2013-02-28 15:37:29 +01:00
gdm loginDialog: MessageType is now in GdmUtil 2013-10-02 13:58:09 -04:00
misc loginManager: fix versionCompare function 2013-09-24 14:22:09 -04:00
perf perf: Update to latest overlay changes 2012-08-20 20:40:01 +02:00
ui notificationDaemon: Focus the new window before destroying the notification 2013-10-08 13:05:34 -04:00
Makefile.am Magnifier: Implement focus and caret tracking 2013-09-05 13:18:54 -04:00