From de2abf7b657189e09ad71f787d4a182360383433 Mon Sep 17 00:00:00 2001 From: flavio Date: Wed, 25 Jul 2012 00:49:30 +0000 Subject: Bug in gi: Gdk.Display.get_pointer --- (limited to 'face.py') 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) -- cgit v0.9.1