diff options
| author | Chong Yidong | 2010-10-25 12:04:54 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-10-25 12:04:54 -0400 |
| commit | 365dc66cec4e0c4362a60ac13b587c82f23415a5 (patch) | |
| tree | d5d7693ed4060bd206ebe5292bada378487d8194 /src | |
| parent | c05c2b9bb0cfe2628301c431ee503e680ba3bc01 (diff) | |
| download | emacs-365dc66cec4e0c4362a60ac13b587c82f23415a5.tar.gz emacs-365dc66cec4e0c4362a60ac13b587c82f23415a5.zip | |
Document GTK Emacs kill on display close in PROBLEMS.
* src/xterm.c (x_connection_closed): Update comment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 2721e63ee2c..401b3ecfa4e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -7698,7 +7698,13 @@ x_connection_closed (Display *dpy, const char *error_message) | |||
| 7698 | #endif | 7698 | #endif |
| 7699 | 7699 | ||
| 7700 | #ifdef USE_GTK | 7700 | #ifdef USE_GTK |
| 7701 | /* Due to bugs in some Gtk+ versions, just exit here. */ | 7701 | /* There is a long-standing bug in GTK that prevents the GTK |
| 7702 | main loop from recovering gracefully from disconnects | ||
| 7703 | (https://bugzilla.gnome.org/show_bug.cgi?id=85715). Among | ||
| 7704 | other problems, this gives rise to a stream of Glib error | ||
| 7705 | messages that, in one incident, filled up a user's hard disk | ||
| 7706 | (http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00927.html). | ||
| 7707 | So, kill Emacs unconditionally if the display is closed. */ | ||
| 7702 | { | 7708 | { |
| 7703 | fprintf (stderr, "%s\n", error_msg); | 7709 | fprintf (stderr, "%s\n", error_msg); |
| 7704 | Fkill_emacs (make_number (70)); | 7710 | Fkill_emacs (make_number (70)); |