[aseprite] 170/250: Fix first native cursor hiding on Skia backend
Tobias Hansen
thansen at moszumanska.debian.org
Sun Dec 20 15:27:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 9e90061e376e66afbb18f88038828a5a6a87f9cd
Author: David Capello <davidcapello at gmail.com>
Date: Wed Oct 14 12:44:37 2015 -0300
Fix first native cursor hiding on Skia backend
---
src/ui/system.cpp | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/ui/system.cpp b/src/ui/system.cpp
index bed68d9..500cef5 100644
--- a/src/ui/system.cpp
+++ b/src/ui/system.cpp
@@ -32,7 +32,14 @@ static Cursor* mouse_cursor = NULL;
static she::Display* mouse_display = NULL;
static Overlay* mouse_cursor_overlay = NULL;
static bool use_native_mouse_cursor = false;
-static bool native_cursor_set = false; // If we displayed a native cursor
+#ifdef USE_ALLEG4_BACKEND
+ // The native cursor is hidden by default in the Allegro backend
+ static bool native_cursor_set = false; // TODO remove this when we remove the Allegro backend
+#else
+ // The native cursor should be visible by default in
+ // other "she" library backends.
+ static bool native_cursor_set = true;
+#endif
// Mouse information (button and position).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list