From b897c90dd3f0be2f951ddd78741bc8ee5f0d9f01 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 24 Feb 2007 13:36:11 +0000 Subject: [PATCH] Gareth pointed out yesterday that the Unix terminal front end treats BELL_DISABLED as BELL_DEFAULT. How embarrassing. [originally from svn r7316] --- unix/gtkwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/gtkwin.c b/unix/gtkwin.c index 03ecc35a..311cf38a 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -1867,7 +1867,7 @@ void sys_cursor(void *frontend, int x, int y) */ void do_beep(void *frontend, int mode) { - if (mode != BELL_VISUAL) + if (mode == BELL_DEFAULT) gdk_beep(); } -- 2.45.2