From d9db95f8803c9a39722b2984d9b04fb95c14d5a7 Mon Sep 17 00:00:00 2001 From: Adam Fedor Date: Tue, 20 Dec 2005 20:36:59 +0000 Subject: [PATCH] * Source/art/ARTContext.m ([ARTContext -beep]): Respect user setting of bell volume. * Source/x11/XGServe.m: Idem. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22191 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ Source/art/ARTContext.m | 2 +- Source/x11/XGServer.m | 2 +- Source/xdps/NSDPSContext.m | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c9e19b9..08fcf2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-20 Adam Fedor + + * Source/art/ARTContext.m ([ARTContext -beep]): Respect user setting + of bell volume. + * Source/x11/XGServe.m: Idem. + 2005-12-16 Adam Fedor * configure.in: Check for Xutf8LookupString diff --git a/Source/art/ARTContext.m b/Source/art/ARTContext.m index 1398eb4..8d95770 100644 --- a/Source/art/ARTContext.m +++ b/Source/art/ARTContext.m @@ -874,7 +874,7 @@ static int byte_order(void) { NSLog(@"ARTContext -beep: why here?"); #ifndef RDS - XBell([(XGServer *)server xDisplay], 50); + XBell([(XGServer *)server xDisplay], 0); #endif } diff --git a/Source/x11/XGServer.m b/Source/x11/XGServer.m index 3b38c6d..744888b 100644 --- a/Source/x11/XGServer.m +++ b/Source/x11/XGServer.m @@ -595,7 +595,7 @@ _parse_display_name(NSString *name, int *dn, int *sn) - (void) beep { - XBell(dpy, 50); + XBell(dpy, 0); } - glContextClass diff --git a/Source/xdps/NSDPSContext.m b/Source/xdps/NSDPSContext.m index f0d38cc..9eaf8c4 100644 --- a/Source/xdps/NSDPSContext.m +++ b/Source/xdps/NSDPSContext.m @@ -751,7 +751,7 @@ GNUstepErrorProc (DPSContext ctxt, DPSErrorCode errCode, - (void) NSBeep { - XBell([(XGServer *)server xDisplay], 50); + XBell([(XGServer *)server xDisplay], 0); } @end