Blame d57acd9ab84e17bd53a757072a94a51f3e2ebe65.patch

fe39a27
From d2c0dd329e6a53fa0a475c40543258c279edcbd4 Mon Sep 17 00:00:00 2001
fe39a27
From: Alberth <alberth289346@gmail.com>
fe39a27
Date: Sun, 16 Aug 2015 21:28:40 +0200
fe39a27
Subject: [PATCH] Fix: Don't try to remove the same source more than once.
fe39a27
fe39a27
---
fe39a27
 apx/lib/graphics.py | 1 +
fe39a27
 1 file changed, 1 insertion(+)
fe39a27
fe39a27
diff --git a/apx/lib/graphics.py b/apx/lib/graphics.py
fe39a27
index 8349378..6a5d0e6 100644
fe39a27
--- a/apx/lib/graphics.py
fe39a27
+++ b/apx/lib/graphics.py
fe39a27
@@ -2071,6 +2071,7 @@ def __check_mouse(self, x, y):
fe39a27
     def __on_mouse_move(self, scene, event):
fe39a27
         if self.__last_mouse_move:
fe39a27
             gobject.source_remove(self.__last_mouse_move)
fe39a27
+            self.__last_mouse_move = None
fe39a27
 
fe39a27
         self.mouse_x, self.mouse_y = event.x, event.y
fe39a27