From c0747b22c3cbb3f6ac4f4709ea29d5daf0f08374 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Mon, 29 May 2017 20:41:01 +0200 Subject: [PATCH] X11: Turn warning about not finding cursor theme into verbose output. Failing to get the cursor theme should not cause any issues since we're then using the default one anyway. So I removed the warning and made it a verbose-only print instead, as people tend to mistake it for a real error.. (pretty much like `iCCP: known incorrect sRGB profile` :P) (cherry picked from commit d6333066fcdc502fd7b2064008ddc2a491a54fc7) --- platform/x11/os_x11.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 82cb1a02505..742767bdde6 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -343,7 +343,9 @@ void OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_au cursor_theme = XcursorGetTheme(x11_display); if (!cursor_theme) { - WARN_PRINT("Could not find cursor theme"); + if (is_stdout_verbose()) { + print_line("XcursorGetTheme could not get cursor theme"); + } cursor_theme = "default"; }