[caribou] Antler: Fixed location change updates for keyboard.



commit 8d8d997db0fe43ac0d80cceb0b0cbb89d17e1b7a
Author: Eitan Isaacson <eitan monotonous org>
Date:   Fri May 6 14:08:52 2011 -0400

    Antler: Fixed location change updates for keyboard.

 caribou/antler/window.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/caribou/antler/window.py b/caribou/antler/window.py
index bb00ecf..e3da33c 100644
--- a/caribou/antler/window.py
+++ b/caribou/antler/window.py
@@ -265,7 +265,7 @@ class AntlerWindow(ProximityWindowBase):
 
         x += self.placement.x.adjust_to_bounds(root_bbox, proposed_position)
         y += self.placement.y.adjust_to_bounds(root_bbox, proposed_position)
-        return origx != x or origy != y, x, y
+        return self.get_position() != (x, y) != y, x, y
 
     def _update_position(self):
         changed, x, y = self.get_expected_position()



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