mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Glenn Maynard's patch (as adapted by Jacob) for taskbar flashing
when a bell occurs and the window is minimised. [originally from svn r1123]
This commit is contained in:
@ -1142,11 +1142,9 @@ void term_out(void)
|
||||
/*
|
||||
* Perform an actual beep if we're not overloaded.
|
||||
*/
|
||||
if ((!cfg.bellovl || !beep_overloaded)
|
||||
&& cfg.beep != 0) {
|
||||
if (cfg.beep != 2)
|
||||
beep(cfg.beep);
|
||||
else if (cfg.beep == 2) {
|
||||
if (!cfg.bellovl || !beep_overloaded) {
|
||||
beep(cfg.beep);
|
||||
if (cfg.beep == BELL_VISUAL) {
|
||||
in_vbell = TRUE;
|
||||
vbell_timeout = ticks + VBELL_TIMEOUT;
|
||||
term_update();
|
||||
|
Reference in New Issue
Block a user