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 1017

Summary: x11: initial resize event gets lost
Product: SDL Reporter: Robert Vollmert <rvollmert>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: x86_64   
OS: Linux   

Description Robert Vollmert 2010-07-03 01:39:19 UTC
Window managers may resize windows prior to their first being mapped. SDL doesn't pass this resize event on (in SDL_PrivateResize, SDL_VideoSurface is NULL at that time). As far as I can tell, there's no way for the application to know the initial window size.
Comment 1 Sam Lantinga 2011-02-04 19:53:49 UTC
I believe this is an architectural problem that is resolved with SDL 1.3.

Thanks!