ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.166 by root, Sun Jun 26 20:06:52 2005 UTC vs.
Revision 1.167 by root, Fri Aug 5 16:42:44 2005 UTC

1948/* ------------------------------------------------------------------------- */ 1948/* ------------------------------------------------------------------------- */
1949void 1949void
1950rxvt_term::scr_bell () 1950rxvt_term::scr_bell ()
1951{ 1951{
1952#ifndef NO_BELL 1952#ifndef NO_BELL
1953
1953# ifndef NO_MAPALERT 1954# ifndef NO_MAPALERT
1954# ifdef MAPALERT_OPTION 1955# ifdef MAPALERT_OPTION
1955 if (options & Opt_mapAlert) 1956 if (options & Opt_mapAlert)
1956# endif 1957# endif
1957 XMapWindow (display->display, TermWin.parent[0]); 1958 XMapWindow (display->display, TermWin.parent[0]);
1958# endif 1959# endif
1960
1959 if (options & Opt_visualBell) 1961 if (options & Opt_visualBell)
1960 { 1962 {
1961 scr_rvideo_mode (!rvideo); /* refresh also done */ 1963 scr_rvideo_mode (!rvideo); /* refresh also done */
1964 rxvt_usleep (VISUAL_BELL_DURATION);
1962 scr_rvideo_mode (!rvideo); /* refresh also done */ 1965 scr_rvideo_mode (!rvideo); /* refresh also done */
1963 } 1966 }
1964 else 1967 else
1965 XBell (display->display, 0); 1968 XBell (display->display, 0);
1969
1966#endif 1970#endif
1967} 1971}
1968 1972
1969/* ------------------------------------------------------------------------- */ 1973/* ------------------------------------------------------------------------- */
1970/* ARGSUSED */ 1974/* ARGSUSED */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines