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 d6333066fc)
This commit is contained in:
Andreas Haas 2017-05-29 20:41:01 +02:00 committed by Rémi Verschelde
parent 75a6e0f65a
commit c0747b22c3
1 changed files with 3 additions and 1 deletions

View File

@ -343,7 +343,9 @@ void OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_au
cursor_theme = XcursorGetTheme(x11_display); cursor_theme = XcursorGetTheme(x11_display);
if (!cursor_theme) { 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"; cursor_theme = "default";
} }