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 856 - GL3 Window Event Handling
Summary: GL3 Window Event Handling
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.0
Hardware: x86 Linux
: P4 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-18 11:49 UTC by realburner
Modified: 2013-05-21 01:08 UTC (History)
1 user (show)

See Also:


Attachments
sdl quit event fails (2.77 KB, application/x-bzip)
2010-02-09 08:02 UTC, realburner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description realburner 2009-10-18 11:49:07 UTC
I have a problem with an GL3 window and the event handling. 

SDL_MOUSEBUTTONDOWN is SDL_MOUSEMOTION
MOUSEBUTTONUP is MOUSEBUTTONDOWN

I couldn't find SDL_QUIT yet.

KEYDOWN == MOUSEMOTION

feels like a off-by-one error somewhere.

couldn't find anything with grep so far.

appreciate

Robert
Comment 1 Ryan C. Gordon 2009-12-14 23:24:30 UTC
Is it possible your SDL headers don't match the SDL library build? Maybe we added some event to an enumeration that would cause this.

--ryan.
Comment 2 Ryan C. Gordon 2009-12-15 22:37:32 UTC
Changing bug priorities...

--ryan.
Comment 3 realburner 2010-01-02 14:21:53 UTC
I rebuild SDL from svn today, checked every include and makefile. I 99,9% sure the match. I using absolute paths. I could send you my testcase If that would help.
Comment 4 Sam Lantinga 2010-01-24 12:52:20 UTC
Yes, that would help.  I haven't had any problems here.

Thanks!
Comment 5 realburner 2010-02-09 08:02:43 UTC
Created attachment 488 [details]
sdl quit event fails
Comment 6 Sam Lantinga 2011-02-20 20:03:07 UTC
This works great for me.  Did you ever figure this out?  If not, can you try the latest SDL snapshot?
http://www.libsdl.org/tmp/SDL-1.3.zip

Also, some people have reported weirdness with OpenGL 3.X.  Your program works fine with OpenGL 2.X, can you see if switching gl3.h to gl.h fixes the problem?

Thanks!
Comment 7 Sam Lantinga 2013-05-21 01:08:37 UTC
No response in 4 years, closing bug.