|
@@ -312,7 +312,7 @@ int XNextEvent(Display* display, XEvent* event) |
|
|
|
|
|
|
|
|
if (std::strcmp(type, "WM_PROTOCOLS") != 0) |
|
|
if (std::strcmp(type, "WM_PROTOCOLS") != 0) |
|
|
return ret; |
|
|
return ret; |
|
|
if (event->xclient.data.l[0] != XInternAtom(display, "WM_DELETE_WINDOW", False)) |
|
|
|
|
|
|
|
|
if ((Atom)event->xclient.data.l[0] != XInternAtom(display, "WM_DELETE_WINDOW", False)) |
|
|
return ret; |
|
|
return ret; |
|
|
|
|
|
|
|
|
gCurrentWindowVisible = false; |
|
|
gCurrentWindowVisible = false; |
|
|