This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 91b8df9d4da68b20d4d7209ae228d13e88873411 Author: David Capello <[email protected]> Date: Mon Feb 29 22:21:07 2016 -0300 Fix mouse lag on Linux (fix #957) As now we can generate several mouse events in one generateMessagesFromSheEvents(), thanks to 1588e834c3838ffda630abc21bb70c2d4fd75d4d, we can process all mouse events from Allegro 4. --- src/ui/manager.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/ui/manager.cpp b/src/ui/manager.cpp index ea745bc..4b583f1 100644 --- a/src/ui/manager.cpp +++ b/src/ui/manager.cpp @@ -345,12 +345,9 @@ void Manager::generateMessagesFromSheEvents() } case she::Event::MouseMove: { -#ifndef USE_ALLEG4_BACKEND _internal_set_mouse_position(sheEvent.position()); - handleMouseMove(sheEvent.position(), m_mouseButtons, sheEvent.modifiers()); -#endif lastMouseMoveEvent = sheEvent; break; } @@ -405,14 +402,6 @@ void Manager::generateMessagesFromSheEvents() // Generate just one kSetCursorMessage for the last mouse position if (lastMouseMoveEvent.type() != she::Event::None) { sheEvent = lastMouseMoveEvent; - -#ifdef USE_ALLEG4_BACKEND - _internal_set_mouse_position(sheEvent.position()); - - handleMouseMove(sheEvent.position(), m_mouseButtons, - sheEvent.modifiers()); -#endif - generateSetCursorMessage(sheEvent.position(), sheEvent.modifiers()); } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

