File: disable-mouse-cursor-visibility.patch

package info (click to toggle)
seahorse-adventures 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,208 kB
  • sloc: python: 8,524; xml: 28; makefile: 9; sh: 3
file content (21 lines) | stat: -rw-r--r-- 628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Markus Koschany <apo@debian.org>
Date: Mon, 8 Jul 2013 19:35:43 +0200
Subject: disable mouse cursor visibility

---
 lib/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/main.py b/lib/main.py
index 6976b0f..c925a0d 100644
--- a/lib/main.py
+++ b/lib/main.py
@@ -78,7 +78,7 @@ class Game(engine.Game):
         pygame.display.set_caption(TITLE)
         self.timer = timer.Timer(FPS)
         #self.timer = timer.Speedometer()
-
+        pygame.mouse.set_visible(False)
         pygame.joystick.init()
         joy_count = pygame.joystick.get_count()
         for joynum in range(joy_count):