This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] rxvt bell fix


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.

Patch:
======

--- ../../../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;
 {
 	xtrace("XBell\n");
-	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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]