From 71e95ee26f95412fc1b16ea661999ffc70b3ce55 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 6 Nov 2002 17:09:01 +0000 Subject: [PATCH] stop lying about responding to Delete events --- libs/video/targets/context_x11.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/video/targets/context_x11.c b/libs/video/targets/context_x11.c index b4ece2ab1..175471dc1 100644 --- a/libs/video/targets/context_x11.c +++ b/libs/video/targets/context_x11.c @@ -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) {