summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-05-29 20:41:01 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-05-29 20:41:18 +0200
commitd6333066fcdc502fd7b2064008ddc2a491a54fc7 (patch)
treeb8bd2d2b88082b035f416abd73aabdc88c5c774f
parentb3c6d9914aaa13ed3e0aa1e0b28448ae0929f4bc (diff)
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)
-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";
}