stop lying about responding to Delete events

This commit is contained in:
Bill Currie 2002-11-06 17:09:01 +00:00
parent 749b56aae7
commit 71e95ee26f
1 changed files with 0 additions and 5 deletions

View File

@ -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) {