]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_window): Call XSetWMProtocols.
authorRichard M. Stallman <rms@gnu.org>
Fri, 26 Nov 1993 21:50:57 +0000 (21:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 26 Nov 1993 21:50:57 +0000 (21:50 +0000)
src/xfns.c

index 249f89ba75624e4cdd68120a5495a5c641bb798c..754389db7430349456584190c40499782e4ad736 100644 (file)
@@ -1574,6 +1574,8 @@ x_window (f)
   f->display.x->wm_hints.input = True;
   f->display.x->wm_hints.flags |= InputHint;
   XSetWMHints (x_current_display, FRAME_X_WINDOW (f), &f->display.x->wm_hints);
+  XSetWMProtocols (x_current_display, FRAME_X_WINDOW (f),
+                  &Xatom_wm_delete_window, 1);
 
   /* x_set_name normally ignores requests to set the name if the
      requested name is the same as the current name.  This is the one