Commit 5a6ef893 authored by Richard M. Stallman's avatar Richard M. Stallman

(XTring_bell): Do nothing if x_current_connection is 0.

parent dfda7a7f
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment