mirror of
https://github.com/love2d/megasource.git
synced 2026-08-20 04:30:45 +02:00
update SDL to libsdl-org/SDL@b8036bd
This commit is contained in:
@@ -459,10 +459,11 @@ static bool X11_MessageBoxCreateWindow(SDL_MessageBoxDataX11 *data)
|
||||
(unsigned char *)&_NET_WM_WINDOW_TYPE_DIALOG, 1);
|
||||
|
||||
// Allow the window to be deleted by the window manager
|
||||
data->wm_protocols = X11_XInternAtom(display, "WM_PROTOCOLS", False);
|
||||
data->wm_delete_message = X11_XInternAtom(display, "WM_DELETE_WINDOW", False);
|
||||
X11_XSetWMProtocols(display, data->window, &data->wm_delete_message, 1);
|
||||
|
||||
data->wm_protocols = X11_XInternAtom(display, "WM_PROTOCOLS", False);
|
||||
|
||||
if (windowdata) {
|
||||
XWindowAttributes attrib;
|
||||
Window dummy;
|
||||
|
||||
Reference in New Issue
Block a user