From dad87fb3a8b1220c8b5d7f1d558c4c88f939209e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 17 Apr 2023 11:11:01 +0200 Subject: [PATCH] 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 --- src/modules/module-x11-bell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/module-x11-bell.c b/src/modules/module-x11-bell.c index 988fb92b7..b4f238764 100644 --- a/src/modules/module-x11-bell.c +++ b/src/modules/module-x11-bell.c @@ -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,