| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Reply-To: | <tiberius AT braemarinc DOT com> |
| From: | "Gary R. Van Sickle" <tiberius AT braemarinc DOT com> |
| To: | "Cygwin Mailing List (E-mail)" <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | [PATCH] rxvt bell fix |
| Date: | Fri, 29 Jun 2001 20:38:47 -0500 |
| Message-ID: | <000b01c10105$68ca7ed0$1101a8c0@BRAEMARINC.COM> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2479.0005 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |