summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-05-29 20:47:05 +0200
committerGitHub <noreply@github.com>2017-05-29 20:47:05 +0200
commit74a0bed3d2dd2020908bd396991f0f2ab0daf096 (patch)
treeb8bd2d2b88082b035f416abd73aabdc88c5c774f
parentb3c6d9914aaa13ed3e0aa1e0b28448ae0929f4bc (diff)
parentd6333066fcdc502fd7b2064008ddc2a491a54fc7 (diff)
Merge pull request #8986 from Hinsbart/cursor_warning
X11: Turn warning about not finding cursor theme into verbose output.
-rw-r--r--platform/x11/os_x11.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 8534185389..2a912a7ba2 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -336,7 +336,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";
}