diff options
| author | Gerd Moellmann | 2000-03-07 12:25:28 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-03-07 12:25:28 +0000 |
| commit | 2e465cddf9b1c98ba1b496a74485c28cdb24b12f (patch) | |
| tree | f843f0d4e57f1788b8e520b303299f3c9c057fd8 /src | |
| parent | ae3d47c61ade42aaa90652c70fde2fe2cc94e8f6 (diff) | |
| download | emacs-2e465cddf9b1c98ba1b496a74485c28cdb24b12f.tar.gz emacs-2e465cddf9b1c98ba1b496a74485c28cdb24b12f.zip | |
(x_connection_closed) [USE_X_TOOLKIT]: Don't try to
close the display with XtCloseDisplay. This caused a bus error
on OpenWindows.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 26d87fe3b4e..b60912dd9db 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10752,9 +10752,11 @@ x_connection_closed (display, error_message) | |||
| 10752 | 10752 | ||
| 10753 | /* Indicate that this display is dead. */ | 10753 | /* Indicate that this display is dead. */ |
| 10754 | 10754 | ||
| 10755 | #if 0 /* Closing the display caused a bus error on OpenWindows. */ | ||
| 10755 | #ifdef USE_X_TOOLKIT | 10756 | #ifdef USE_X_TOOLKIT |
| 10756 | XtCloseDisplay (display); | 10757 | XtCloseDisplay (display); |
| 10757 | #endif | 10758 | #endif |
| 10759 | #endif | ||
| 10758 | 10760 | ||
| 10759 | dpyinfo->display = 0; | 10761 | dpyinfo->display = 0; |
| 10760 | 10762 | ||