mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -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:
@ -1332,9 +1332,16 @@ void sys_cursor(void *frontend, int x, int y)
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
* This is still called when mode==BELL_VISUAL, even though the
|
||||
* visual bell is handled entirely within terminal.c, because we
|
||||
* may want to perform additional actions on any kind of bell (for
|
||||
* example, taskbar flashing in Windows).
|
||||
*/
|
||||
void beep(void *frontend, int mode)
|
||||
{
|
||||
gdk_beep();
|
||||
if (mode != BELL_VISUAL)
|
||||
gdk_beep();
|
||||
}
|
||||
|
||||
int CharWidth(Context ctx, int uc)
|
||||
|
Reference in New Issue
Block a user