1
0
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:
Simon Tatham
2001-05-13 14:42:17 +00:00
parent 52a688abd1
commit 84e58edf9f
5 changed files with 81 additions and 7 deletions

View File

@ -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();