1 |
/* file-changed.c - Handling file changed notifications. |
/* file-changed.c - Handling file changed notifications. |
2 |
Copyright (C) 2002 Free Software Foundation, Inc. |
Copyright (C) 2002, 2003 Free Software Foundation, Inc. |
3 |
Written by Marcus Brinkmann. |
Written by Marcus Brinkmann. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
202 |
while (vcons->state.bell.audible |
while (vcons->state.bell.audible |
203 |
< vcons->display->bell.audible) |
< vcons->display->bell.audible) |
204 |
{ |
{ |
205 |
cons_vcons_beep (vcons); |
if (_cons_audible_bell == BELL_AUDIBLE) |
206 |
|
cons_vcons_beep (vcons); |
207 |
|
else if (_cons_audible_bell == BELL_VISUAL) |
208 |
|
cons_vcons_flash (vcons); |
209 |
vcons->state.bell.audible++; |
vcons->state.bell.audible++; |
210 |
} |
} |
211 |
} |
} |
214 |
while (vcons->state.bell.visible |
while (vcons->state.bell.visible |
215 |
< vcons->display->bell.visible) |
< vcons->display->bell.visible) |
216 |
{ |
{ |
217 |
cons_vcons_flash (vcons); |
if (_cons_visual_bell == BELL_VISUAL) |
218 |
|
cons_vcons_flash (vcons); |
219 |
|
else if (_cons_visual_bell == BELL_AUDIBLE) |
220 |
|
cons_vcons_beep (vcons); |
221 |
vcons->state.bell.visible++; |
vcons->state.bell.visible++; |
222 |
} |
} |
223 |
} |
} |