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 - x11: initial resize event gets lost
Summary: x11: initial resize event gets lost
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-03 01:39 UTC by Robert Vollmert
Modified: 2011-02-04 19:53 UTC (History)
0 users

See Also:


Attachments

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