diff options
| author | Chong Yidong | 2010-10-25 12:08:27 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-10-25 12:08:27 -0400 |
| commit | 931c1dfaae8e1fc4c77e563912ee4fb5953ae844 (patch) | |
| tree | c7aa81bb83862a6648b70f20c66e9214d77034b2 /src | |
| parent | 655441b28ae5dd95c4a889a92a9be0f9cab2cf0d (diff) | |
| download | emacs-931c1dfaae8e1fc4c77e563912ee4fb5953ae844.tar.gz emacs-931c1dfaae8e1fc4c77e563912ee4fb5953ae844.zip | |
Document GTK Emacs kill on display close in PROBLEMS.
* src/xterm.c (x_connection_closed): Expand 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 1de49e2fde1..143500256a1 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -7911,7 +7911,13 @@ x_connection_closed (dpy, error_message) | |||
| 7911 | #endif | 7911 | #endif |
| 7912 | 7912 | ||
| 7913 | #ifdef USE_GTK | 7913 | #ifdef USE_GTK |
| 7914 | /* Due to bugs in some Gtk+ versions, just exit here. */ | 7914 | /* There is a long-standing bug in GTK that prevents the GTK |
| 7915 | main loop from recovering gracefully from disconnects | ||
| 7916 | (https://bugzilla.gnome.org/show_bug.cgi?id=85715). Among | ||
| 7917 | other problems, this gives rise to a stream of Glib error | ||
| 7918 | messages that, in one incident, filled up a user's hard disk | ||
| 7919 | (http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00927.html). | ||
| 7920 | So, kill Emacs unconditionally if the display is closed. */ | ||
| 7915 | { | 7921 | { |
| 7916 | fprintf (stderr, "%s\n", error_msg); | 7922 | fprintf (stderr, "%s\n", error_msg); |
| 7917 | Fkill_emacs (make_number (70)); | 7923 | Fkill_emacs (make_number (70)); |