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