소스 검색

Merge pull request #8986 from Hinsbart/cursor_warning

X11: Turn warning about not finding cursor theme into verbose output.
Rémi Verschelde 8 년 전
부모
커밋
74a0bed3d2
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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);
 
 	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";
 	}