diff options
| author | Richard M. Stallman | 1993-11-26 21:50:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-26 21:50:57 +0000 |
| commit | dcce9abd1c4d56f1ca876ba3b2141ebd65a57964 (patch) | |
| tree | a834992c3b972357262cbba7640f05ed4a078b0a /src | |
| parent | a38837b5d7ed070cb8c5644269e67db921956500 (diff) | |
| download | emacs-dcce9abd1c4d56f1ca876ba3b2141ebd65a57964.tar.gz emacs-dcce9abd1c4d56f1ca876ba3b2141ebd65a57964.zip | |
(x_window): Call XSetWMProtocols.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 2 |
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 |