[PATCH] rxvt bell fix

Gary R. Van Sickle tiberius@braemarinc.com
Fri Jun 29 18:38:00 GMT 2001

My first Cygwin patch!!  YAY!!  I'm not sending this to the cygwin-patches
list because it's not a cygwin patch per-se but a 'contrib-patch' (plus I'm
not subscribed and couldn't anyway ;-)).  So hopefully somebody here will
know where to route it.

Changelog Entry:

2001-07-29  Gary R. Van Sickle

* xlib.c (XBell): Replace call to Beep() with MessageBeep() in order to make
terminal bell work on WinNT/2000 as well as Win9x, and also so that it uses
the 'SystemDefault' beep sound instead of the PC speaker.


--- ../../../rxvt-2.7.2/W11/w32/xlib.c	Sun Jun  3 23:31:30 2001
+++ xlib.c	Fri Jun 29 19:28:40 2001
@@ -2914,7 +2914,7 @@ Display *display;
 int pc;
-	Beep(20,40);
+	MessageBeep(MB_OK);
 	return 0;

Gary R. Van Sickle
Braemar Inc.
11481 Rupp Dr.
Burnsville, MN 55337

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list