Commit a969db09 authored by Daniel Stone's avatar Daniel Stone

XKB: Don't ring the bell when we don't have a BellProc (bug #13246)

parent c89b5431
......@@ -405,7 +405,8 @@ XID winID = 0;
if ((force||(xkbi->desc->ctrls->enabled_ctrls&XkbAudibleBellMask))&&
(!eventOnly)) {
(*kbd->kbdfeed->BellProc)(percent,kbd,(pointer)pCtrl,class);
if (kbd->kbdfeed->BellProc)
(*kbd->kbdfeed->BellProc)(percent,kbd,(pointer)pCtrl,class);
}
interest = kbd->xkb_interest;
if ((!interest)||(force))
......
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