[caribou] more robust focus control?



commit 0e58a963f961ef79a27b3c381672abc69feaaf99
Author: Eitan Isaacson <eitan monotonous org>
Date:   Wed Mar 24 11:22:04 2010 -0700

    more robust focus control?

 src/caribou.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/caribou.py b/src/caribou.py
index 04ff034..a1f0c13 100755
--- a/src/caribou.py
+++ b/src/caribou.py
@@ -87,7 +87,7 @@ class Caribou:
                     self.__set_location = self.__set_text_location
                     if debug == True:
                         print "enter text widget in", event.host_application.name
-                elif event.detail1 == 0:
+                elif event.detail1 == 0 and acc == self.__current_acc:
                     caribouwindow.hide_all()
                     self.__current_acc = None 
                     self.__set_location = None



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