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 1336

Summary: Added a timestamp on all SDL events
Product: SDL Reporter: Gueniffey <pierre-yves>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: Patch for current SDL snapshot (2011/11/23)

Description Gueniffey 2011-11-23 04:11:31 UTC
Created attachment 733 [details]
Patch for current SDL snapshot (2011/11/23)

The attached simple patch adds a timestamp to all SDL events. It is useful to dismiss old events and add UI responsiveness (my application does some extensive tasks that creates a delay in the event queue handling. With this patch, I can deal only with the most recent events.
Comment 1 Sam Lantinga 2011-12-29 02:14:14 UTC
Added, thanks!
http://hg.libsdl.org/SDL/rev/d166819bf2b3