aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 249f89ba756..754389db743 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1574,6 +1574,8 @@ x_window (f)
1574 f->display.x->wm_hints.input = True; 1574 f->display.x->wm_hints.input = True;
1575 f->display.x->wm_hints.flags |= InputHint; 1575 f->display.x->wm_hints.flags |= InputHint;
1576 XSetWMHints (x_current_display, FRAME_X_WINDOW (f), &f->display.x->wm_hints); 1576 XSetWMHints (x_current_display, FRAME_X_WINDOW (f), &f->display.x->wm_hints);
1577 XSetWMProtocols (x_current_display, FRAME_X_WINDOW (f),
1578 &Xatom_wm_delete_window, 1);
1577 1579
1578 /* x_set_name normally ignores requests to set the name if the 1580 /* x_set_name normally ignores requests to set the name if the
1579 requested name is the same as the current name. This is the one 1581 requested name is the same as the current name. This is the one