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
This commit is contained in:
Matthias Clasen 2009-02-13 00:09:44 +00:00
parent 7b2cba7a6c
commit 573dbb431e
2 changed files with 6 additions and 6 deletions

View File

@ -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> 2009-02-11 Matthias Clasen <mclasen@redhat.com>
Bug 557921 [PATCH] Sound event support to metacity Bug 557921 [PATCH] Sound event support to metacity

View File

@ -327,12 +327,6 @@ meta_bell_notify (MetaDisplay *display,
void void
meta_bell_set_audible (MetaDisplay *display, gboolean audible) meta_bell_set_audible (MetaDisplay *display, gboolean audible)
{ {
#ifdef HAVE_XKB
XkbChangeEnabledControls (display->xdisplay,
XkbUseCoreKbd,
XkbAudibleBellMask,
audible ? XkbAudibleBellMask : 0);
#endif
} }
gboolean gboolean