summaryrefslogtreecommitdiff
path: root/caribou
diff options
context:
space:
mode:
authorEitan Isaacson <eitan@monotonous.org>2011-05-06 14:08:52 -0400
committerEitan Isaacson <eitan@monotonous.org>2011-05-06 14:08:52 -0400
commit8d8d997db0fe43ac0d80cceb0b0cbb89d17e1b7a (patch)
treeab39b8aa1e6f84ec66737b7d94d63cf37146a2a0 /caribou
parent640bea9c2ab8935a12d3e43230b36a5dda734e5d (diff)
downloadcaribou-8d8d997db0fe43ac0d80cceb0b0cbb89d17e1b7a.tar.gz
Antler: Fixed location change updates for keyboard.
Diffstat (limited to 'caribou')
-rw-r--r--caribou/antler/window.py2
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()