[mousetrap/gnome3-wip: 122/240] Fix bug introduced by last commit.
- From: Heidi Ellis <heidiellis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetrap/gnome3-wip: 122/240] Fix bug introduced by last commit.
- Date: Mon, 8 Sep 2014 15:22:49 +0000 (UTC)
commit d88e49ad8cad0bb2bfe3373431ed9f8dfa8b9c83
Author: Stoney Jackson <dr stoney gmail com>
Date: Mon Jun 23 14:18:48 2014 -0400
Fix bug introduced by last commit.
src/mousetrap/gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mousetrap/gui.py b/src/mousetrap/gui.py
index 73b3d9e..185699c 100644
--- a/src/mousetrap/gui.py
+++ b/src/mousetrap/gui.py
@@ -89,7 +89,7 @@ class Pointer(object):
X_INDEX = 1
Y_INDEX = 2
position = self._pointer.get_position()
- return (position[x_index], position[y_index])
+ return (position[X_INDEX], position[Y_INDEX])
def click(self, button=BUTTON_LEFT):
display = XlibDisplay()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]