We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3084

Summary: SDL_MouseMotionEvent only gets called when the mouse key is held down (OS X)
Product: SDL Reporter: spycrab0developer
Component: eventsAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 Keywords: target-2.0.4
Version: 2.0.3   
Hardware: x86_64   
OS: Mac OS X (All)   
Attachments: Demonstration code

Description spycrab0developer 2015-08-02 14:06:31 UTC
Created attachment 2233 [details]
Demonstration code

Steps to reproduce:
(See attachment for code)
I built the code under OS X Yosemite 10.10.1,
both with Apple LLVM version 6.1.0 and GCC 5.2.0

Expected results:
Should print out the Mouse position whenever the mouse is moved over the window 
(See attachment)

Actual results:
The event is only called when I hold down one of the mouse buttons.
Comment 1 Ryan C. Gordon 2015-12-29 01:00:01 UTC
This might be any number of things that changed, including a later fix, but this is working correctly as-is for me with SDL from revision control, on Mac OS X El Capitan, with whatever the default Clang is that comes with the current Xcode.

If you get a chance to retest, please do.

--ryan.
Comment 2 spycrab0developer 2016-01-04 21:13:36 UTC
Looked into it again - looks like this was a mouse driver issue which affected all windows.