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

Summary: Close button doesn't work for X11 message boxes
Product: SDL Reporter: Jason Wyatt <jwyatt>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: HG 2.1   
Hardware: x86_64   
OS: Linux   

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.