From b8a115f655a512c53954acfc04151ed2dab77388 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 28 Apr 2023 14:57:25 +0200 Subject: [PATCH] Clarify X11 error message printing This simply ignores the error and moves on. --- src/wine-host/editor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wine-host/editor.cpp b/src/wine-host/editor.cpp index 2121e384..2114544e 100644 --- a/src/wine-host/editor.cpp +++ b/src/wine-host/editor.cpp @@ -748,7 +748,8 @@ void Editor::handle_x11_events() noexcept { } } } catch (const std::runtime_error& error) { - std::cerr << error.what() << std::endl; + std::cerr << "Error occurred while handling X11 events, continuing: " + << error.what() << std::endl; } }