From e3bcb8cf4aab8a88abd2e9c8bb35ad8dc760b74a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 24 Jan 2018 21:35:35 +0100 Subject: [PATCH] Silence verbose stderr info message on X11 (cherry picked from commit 94f315df0153574dcafd0d8f3fcbb39762914cfb) --- platform/x11/os_x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 26dc3cb48d5..92eefefe243 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -192,7 +192,7 @@ void OS_X11::initialize(const VideoMode &p_desired, int p_video_driver, int p_au XIFreeDeviceInfo(info); - if (!touch.devices.size()) { + if (is_stdout_verbose() && !touch.devices.size()) { fprintf(stderr, "No touch devices found\n"); } }