Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/face.py
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2012-07-25 00:49:30 (GMT)
committer flavio <fdanesse@gmail.com>2012-07-25 00:49:30 (GMT)
commitde2abf7b657189e09ad71f787d4a182360383433 (patch)
treedb3e740c9e109da7f4c1a1f682c6756f36b429a5 /face.py
parent33817e833ea01d283a6d35df1e47dd3091d99fa1 (diff)
Bug in gi: Gdk.Display.get_pointer
Diffstat (limited to 'face.py')
-rw-r--r--face.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/face.py b/face.py
index 8393788..fd95af6 100644
--- a/face.py
+++ b/face.py
@@ -141,7 +141,9 @@ class View(Gtk.EventBox):
if self._eyes:
if pos is None:
display = Gdk.Display()
- screen_, x, y, modifiers_ = display.get_pointer()
+ # FIXME: Bug in gi
+ # screen_, x, y, modifiers_ = display.get_pointer()
+ x, y = (0,0)
else:
x, y = pos
map(lambda e, x=x, y=y: e.look_at(x, y), self._eyes)