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 - SDL_MouseMotionEvent only gets called when the mouse key is held down (OS X)
Summary: SDL_MouseMotionEvent only gets called when the mouse key is held down (OS X)
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.3
Hardware: x86_64 Mac OS X (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.4
Depends on:
Blocks:
 
Reported: 2015-08-02 14:06 UTC by spycrab0developer
Modified: 2016-01-04 21:13 UTC (History)
0 users

See Also:


Attachments
Demonstration code (460 bytes, text/x-csrc)
2015-08-02 14:06 UTC, spycrab0developer
Details

Note You need to log in before you can comment on or make changes to this bug.
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.