changeset 5193:2696563f32ba

(x_window): Call XSetWMProtocols.
author Richard M. Stallman <rms@gnu.org>
date Fri, 26 Nov 1993 21:50:57 +0000
parents 3fb665ab94c1
children 85a1088ca765
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Fri Nov 26 20:42:23 1993 +0000
+++ b/src/xfns.c	Fri Nov 26 21:50:57 1993 +0000
@@ -1574,6 +1574,8 @@
   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