diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c index 7a329964fe7..b55c6c5d83d 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -836,7 +836,17 @@ w32_ring_bell (void) | |||
| 836 | BLOCK_INPUT; | 836 | BLOCK_INPUT; |
| 837 | 837 | ||
| 838 | if (visible_bell) | 838 | if (visible_bell) |
| 839 | FlashWindow (FRAME_W32_WINDOW (selected_frame), TRUE); | 839 | { |
| 840 | int i; | ||
| 841 | HWND hwnd = FRAME_W32_WINDOW (selected_frame); | ||
| 842 | |||
| 843 | for (i = 0; i < 5; i++) | ||
| 844 | { | ||
| 845 | FlashWindow (hwnd, TRUE); | ||
| 846 | Sleep (10); | ||
| 847 | } | ||
| 848 | FlashWindow (hwnd, FALSE); | ||
| 849 | } | ||
| 840 | else | 850 | else |
| 841 | w32_sys_ring_bell (); | 851 | w32_sys_ring_bell (); |
| 842 | 852 | ||