Browse Source

Merge pull request #8986 from Hinsbart/cursor_warning

X11: Turn warning about not finding cursor theme into verbose output.
Rémi Verschelde 8 năm trước cách đây
mục cha
commit
74a0bed3d2
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      platform/x11/os_x11.cpp

+ 3 - 1
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);
 	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";
 	}
 	}