module-x11-bell: move error to info

Make the XOpenDiplay call failure print an info message instead of a
warning. We usually ignore this error in the config file. Add a
suggestion for how to fix this issue in the info log.

Fixes #2918
This commit is contained in:
Wim Taymans 2023-04-17 11:11:01 +02:00
parent aacd458b92
commit dad87fb3a8

View file

@ -159,8 +159,8 @@ static int x11_connect(struct impl *impl, const char *name)
unsigned int auto_ctrls, auto_values;
if (!(impl->display = XOpenDisplay(name))) {
pw_log_error("XOpenDisplay() failed");
return -EIO;
pw_log_info("XOpenDisplay() failed. Uninstall or disable the module-x11-bell module");
return -EHOSTDOWN;
}
impl->source = pw_loop_add_io(impl->loop,