mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 12:32:47 -05:00
terminal.c should call the frontend beep() routine even with
mode==BELL_VISUAL, otherwise taskbar flashing won't happen on visual bells. It's up to the frontend routine to spot BELL_VISUAL and avoid making any noise. [originally from svn r2155]
This commit is contained in:
@ -1373,12 +1373,12 @@ void term_out(Terminal *term)
|
||||
* Perform an actual beep if we're not overloaded.
|
||||
*/
|
||||
if (!cfg.bellovl || !term->beep_overloaded) {
|
||||
beep(term->frontend, cfg.beep);
|
||||
if (cfg.beep == BELL_VISUAL) {
|
||||
term->in_vbell = TRUE;
|
||||
term->vbell_startpoint = ticks;
|
||||
term_update(term);
|
||||
} else
|
||||
beep(term->frontend, cfg.beep);
|
||||
}
|
||||
}
|
||||
term->disptop = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user