From 573dbb431edd9cb30e038df2051c0a68188d870f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 13 Feb 2009 00:09:44 +0000 Subject: [PATCH] Now that we are using libcanberra, don't tell the X server to play the * src/core/bell.c (meta_bell_set_audible): Now that we are using libcanberra, don't tell the X server to play the system bell internally. svn path=/trunk/; revision=4141 --- ChangeLog | 6 ++++++ src/core/bell.c | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7c59528c0..f57bc0eb0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-12 Matthias Clasen + + * src/core/bell.c (meta_bell_set_audible): Now that we are + using libcanberra, don't tell the X server to play the system + bell internally. + 2009-02-11 Matthias Clasen Bug 557921 – [PATCH] Sound event support to metacity diff --git a/src/core/bell.c b/src/core/bell.c index d399e0ed8..bed62d462 100644 --- a/src/core/bell.c +++ b/src/core/bell.c @@ -327,12 +327,6 @@ meta_bell_notify (MetaDisplay *display, void meta_bell_set_audible (MetaDisplay *display, gboolean audible) { -#ifdef HAVE_XKB - XkbChangeEnabledControls (display->xdisplay, - XkbUseCoreKbd, - XkbAudibleBellMask, - audible ? XkbAudibleBellMask : 0); -#endif } gboolean