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 1724

Summary: SDL_SetWindowSize ignored on X11 video backend when running without WM
Product: SDL Reporter: (disabled) Jørgen Tjernø <jorgen>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   
Attachments: Minimal repro case

Description (disabled) Jørgen Tjernø 2013-02-18 14:23:31 UTC
Created attachment 1048 [details]
Minimal repro case

When I run SDL_SetWindowSize on a window under no WM (also seems to be the case under Fluxbox and ion3, according to https://github.com/ValveSoftware/Source-1-Games/issues/162), the call is ignored. SDL_GetWindowSize returns the new size, but the size is the old size.

I've attached a minimal repro case. Starting X from console with the command 'startx' and only 'gnome-terminal' in .xinitrc, and then compiling & running the attached repro case will show the behavior. The window is created at 400x400, and never resized to 1000x1000, even though SDL_GetWindowSize reports 1000x1000.
Comment 1 (disabled) Jørgen Tjernø 2013-02-18 14:27:11 UTC

*** This bug has been marked as a duplicate of bug 1513 ***