mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
stop lying about responding to Delete events
This commit is contained in:
parent
749b56aae7
commit
71e95ee26f
1 changed files with 0 additions and 5 deletions
|
@ -88,7 +88,6 @@ XVisualInfo *x_visinfo;
|
|||
Visual *x_vis;
|
||||
Window x_win;
|
||||
Cursor nullcursor = None;
|
||||
static Atom aWMDelete = 0;
|
||||
Time x_time;
|
||||
|
||||
#define X_MASK (VisibilityChangeMask | StructureNotifyMask | ExposureMask)
|
||||
|
@ -473,10 +472,6 @@ X11_CreateWindow (int width, int height)
|
|||
XFree (ClassHint);
|
||||
}
|
||||
|
||||
// Make window respond to Delete events
|
||||
aWMDelete = XInternAtom (x_disp, "WM_DELETE_WINDOW", False);
|
||||
XSetWMProtocols (x_disp, x_win, &aWMDelete, 1);
|
||||
|
||||
XMapWindow (x_disp, x_win);
|
||||
|
||||
while (1) {
|
||||
|
|
Loading…
Reference in a new issue