mirror of https://github.com/fltk/fltk
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:
parent
d73327e181
commit
3dd8c314d6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue