focusCaretTracker: Lower AT-SPI's timeout values

Have AT-SPI calls time out after 250ms, to mitigate the effect of a
deadlock when querying another application that is trying to query
gnome-shell.

https://bugzilla.gnome.org/show_bug.cgi?id=708387
This commit is contained in:
Mike Gorse 2013-09-19 12:12:49 -05:00
parent 54b028ee3e
commit 7ced1f5b54

View File

@ -33,6 +33,7 @@ const FocusCaretTracker = new Lang.Class({
_init: function() { _init: function() {
Atspi.init(); Atspi.init();
Atspi.set_timeout(250, 250);
this._atspiListener = Atspi.EventListener.new(Lang.bind(this, this._onChanged)); this._atspiListener = Atspi.EventListener.new(Lang.bind(this, this._onChanged));
}, },