[mutter: 21/209] Now that we are using libcanberra, don't tell the X server to play the



commit 573dbb431edd9cb30e038df2051c0a68188d870f
Author: Matthias Clasen <matthiasc src gnome org>
Date:   Fri Feb 13 00:09:44 2009 +0000

    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 7c59528..f57bc0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-12  Matthias Clasen  <mclasen redhat com>
+
+	* 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  <mclasen redhat com>
 
 	Bug 557921 â?? [PATCH] Sound event support to metacity
diff --git a/src/core/bell.c b/src/core/bell.c
index d399e0e..bed62d4 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]