diff --git a/src/core/bell.c b/src/core/bell.c index 509f777bc..d32ad48fa 100644 --- a/src/core/bell.c +++ b/src/core/bell.c @@ -297,6 +297,7 @@ meta_bell_notify (MetaDisplay *display, ca_proplist_create (&p); ca_proplist_sets (p, CA_PROP_EVENT_ID, "bell-window-system"); ca_proplist_sets (p, CA_PROP_EVENT_DESCRIPTION, _("Bell event")); + ca_proplist_sets (p, CA_PROP_CANBERRA_CACHE_CONTROL, "permanent"); window = meta_display_lookup_x_window (display, xkb_bell_event->window); if (!window && (display->focus_window) && (display->focus_window->frame)) diff --git a/src/core/workspace.c b/src/core/workspace.c index 881789c64..b3f43ce04 100644 --- a/src/core/workspace.c +++ b/src/core/workspace.c @@ -494,6 +494,7 @@ workspace_switch_sound(MetaWorkspace *from, ca_context_play(ca_gtk_context_get(), 1, CA_PROP_EVENT_ID, e, CA_PROP_EVENT_DESCRIPTION, "Desktop switched", + CA_PROP_CANBERRA_CACHE_CONTROL, "permanent", NULL); finish: