(XTring_bell): Do nothing if x_current_connection is 0.

This commit is contained in:
Richard M. Stallman
1993-05-29 05:59:09 +00:00
parent dfda7a7fc5
commit 5a6ef893cc

View File

@@ -830,6 +830,9 @@ XTflash (f)
XTring_bell ()
{
if (x_current_display == 0)
return;
#if defined (HAVE_TIMEVAL) && defined (HAVE_SELECT)
if (visible_bell)
XTflash (selected_frame);