Let beep use system default settings

Please note that the parameter 'percent' of XBell(3).
Given the value of 100, the system defined setting
(normally specified via xset) is ignored and the
percent of 100 is used instead. When calling the
bell from fltk with FL_BEEP_DEFAULT I would expect
to get the default (system specified) percent setting.
This commit is contained in:
Leon Winter 2021-06-25 08:09:36 +02:00 committed by Albrecht Schlosser
parent d73327e181
commit 3dd8c314d6
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ void Fl_X11_Screen_Driver::beep(int type)
case FL_BEEP_DEFAULT :
case FL_BEEP_ERROR :
if (!fl_display) open_display();
XBell(fl_display, 100);
XBell(fl_display, 0);
break;
default :
if (!fl_display) open_display();