[mutter] Now that we are using libcanberra, don't tell the X server to play the bell



commit c51767eef18d69262bef5cbacc7ff22bcd952585
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 bell
    
    * 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
    
    https://bugzilla.gnome.org/show_bug.cgi?id=609585

 src/core/bell.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/core/bell.c b/src/core/bell.c
index 10e4e42..936e27f 100644
--- a/src/core/bell.c
+++ b/src/core/bell.c
@@ -332,12 +332,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]