diff --git a/kivy/core/window/window_sdl2.py b/kivy/core/window/window_sdl2.py index a8e852858..fca519a0d 100644 --- a/kivy/core/window/window_sdl2.py +++ b/kivy/core/window/window_sdl2.py @@ -261,9 +261,15 @@ class WindowSDL(WindowBase): elif action in ('fingermotion', 'fingerdown', 'fingerup'): # for finger, pass the raw event to SDL motion event provider - SDL2MotionEventProvider.q.appendleft(event) + # XXX this is problematic. On OSX, it generates touches with 0, + # 0 coordinates, at the same times as mouse. But it works. + # We have a conflict of using either the mouse or the finger. + # Right now, we have no mechanism that we could use to know + # which is the preferred one for the application. + #SDL2MotionEventProvider.q.appendleft(event) + pass - if action == 'mousemotion': + elif action == 'mousemotion': x, y = args self.mouse_pos = x, self.system_size[1] - y self._mouse_x = x