Commit 12388c35 authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Carlos Garnacho

keyboard: Apply bell settings only on X11

Those settings don't apply on wayland, we could care really hard to emulate
volume/pitch/duration there but this is essentially an easter egg. Just
avoid these on Wayland sessions.
parent 8606b9bd
......@@ -155,6 +155,9 @@ apply_bell (GsdKeyboardManager *manager)
GsdBellMode bell_mode;
int click_volume;
if (gnome_settings_is_wayland ())
return;
g_debug ("Applying the bell settings");
settings = manager->settings;
click = g_settings_get_boolean (settings, KEY_CLICK);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment