public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] rxvt bell fix
@ 2001-06-29 18:38 Gary R. Van Sickle
  2001-07-06 12:11 ` Michael Schaap
  0 siblings, 1 reply; 2+ messages in thread
From: Gary R. Van Sickle @ 2001-06-29 18:38 UTC (permalink / raw)
  To: Cygwin Mailing List (E-mail)

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rxvt bell fix
  2001-06-29 18:38 [PATCH] rxvt bell fix Gary R. Van Sickle
@ 2001-07-06 12:11 ` Michael Schaap
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Schaap @ 2001-07-06 12:11 UTC (permalink / raw)
  To: cygwin

At 03:38 30-6-2001, Gary R. Van Sickle wrote:
>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.

I'd love to have an rxvt that beeps at me :-) but I have trouble compiling 
rxvt using the source code installed with setup.
Would anyone have an rxvt.exe compiled with this patch available to me?  Or 
even better, could the "official" rxvt perhaps be updated?  (Steve O?)

Thanks,

  - Michael


--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-06 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-29 18:38 [PATCH] rxvt bell fix Gary R. Van Sickle
2001-07-06 12:11 ` Michael Schaap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).