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 - SDL_SetWindowSize ignored on X11 video backend when running without WM
Summary: SDL_SetWindowSize ignored on X11 video backend when running without WM
Status: RESOLVED DUPLICATE of bug 1513
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 14:23 UTC by (disabled) Jørgen Tjernø
Modified: 2013-02-18 14:27 UTC (History)
0 users

See Also:


Attachments
Minimal repro case (1.19 KB, text/x-csrc)
2013-02-18 14:23 UTC, (disabled) Jørgen Tjernø
Details

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