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 2980 - Close button doesn't work for X11 message boxes
Summary: Close button doesn't work for X11 message boxes
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.1
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 09:50 UTC by Jason Wyatt
Modified: 2015-06-01 02:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Wyatt 2015-05-11 09:50:11 UTC
SDL message boxes under X11 ignore the close button. It looks like there is code to handle this event, but the event is never received because the code uses XWindowEvent to get events, and it is not possible to specify a mask for the ClientMessage event. (Swapping XWindowEvent for XNextEvent in SDL_x11messagebox.c:547 makes it possible to close the message box).
Comment 1 Ryan C. Gordon 2015-06-01 02:49:04 UTC
This is now fixed in https://hg.libsdl.org/SDL/rev/363a7880b4f7

--ryan.