mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00:00
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
This commit is contained in:
parent
5aab9e878f
commit
c51767eef1
@ -332,12 +332,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user