[gnome-shell] focusCaretTracker: Lower AT-SPI's timeout values



commit 7ced1f5b543dc2ea6bd52230bdec1c0e12959740
Author: Mike Gorse <mgorse suse com>
Date:   Thu Sep 19 12:12:49 2013 -0500

    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

 js/ui/focusCaretTracker.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/focusCaretTracker.js b/js/ui/focusCaretTracker.js
index 4e18e65..5af8d37 100644
--- a/js/ui/focusCaretTracker.js
+++ b/js/ui/focusCaretTracker.js
@@ -33,6 +33,7 @@ const FocusCaretTracker = new Lang.Class({
 
     _init: function() {
         Atspi.init();
+        Atspi.set_timeout(250, 250);
         this._atspiListener = Atspi.EventListener.new(Lang.bind(this, this._onChanged));
     },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]