浏览代码

Silence verbose stderr info message on X11

Rémi Verschelde 7 年之前
父节点
当前提交
94f315df01
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      platform/x11/os_x11.cpp

+ 1 - 1
platform/x11/os_x11.cpp

@@ -217,7 +217,7 @@ Error OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_a
 
 			XIFreeDeviceInfo(info);
 
-			if (!touch.devices.size()) {
+			if (is_stdout_verbose() && !touch.devices.size()) {
 				fprintf(stderr, "No touch devices found\n");
 			}
 		}