changeset 3243:48d20a0b229a

(XTring_bell): Do nothing if x_current_connection is 0.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 May 1993 05:59:09 +0000
parents f873e6b9af52
children dc032025eb62
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat May 29 05:48:29 1993 +0000
+++ b/src/xterm.c	Sat May 29 05:59:09 1993 +0000
@@ -830,6 +830,9 @@
 
 XTring_bell ()
 {
+  if (x_current_display == 0)
+    return;
+
 #if defined (HAVE_TIMEVAL) && defined (HAVE_SELECT)
   if (visible_bell)
     XTflash (selected_frame);