Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL sets broken WM_TRANSIENT_FOR #575

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

SDL sets broken WM_TRANSIENT_FOR #575

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 1.2
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2010-07-02 04:36:40 +0000, Robert Vollmert wrote:

I ran into trouble with an SDL application using SDL_RESIZABLE with the xmonad window manager, which treats the SDL window as a floating window. It does so because the window has a WM_TRANSIENT_FOR property (with invalid value 0x0).

This appears to be because of the call to XSetTransientForHint(SDL_Display, WMwindow, None). That seems to be an invalid use of XSetTransientForHint; I think gdb showed it returned an error. Maybe there's also a bug in libx11, in that XSetTransientForHint shouldn't actually set the property if an invalid parent window id is passed?

At any rate, removing that call solved the problem.

This was with current SDL-1.2 (HG) on Arch Linux, xmonad from darcs, libx11 1.3.4.

On 2010-07-02 04:37:43 +0000, Robert Vollmert wrote:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469328 seems to be the same issue.

On 2010-07-18 11:38:32 +0000, Sam Lantinga wrote:

This is fixed in revision 4554:4deaba8b1b42, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant