mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
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:
parent
aacd458b92
commit
dad87fb3a8
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue