[PATCH 7/9] winex11: Only warn when an RandR output has no modes.

Henri Verbeet hverbeet at codeweavers.com
Tue Apr 19 11:34:08 CDT 2016


This can legitimately happen when the output is disconnected.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
 dlls/winex11.drv/xrandr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/xrandr.c b/dlls/winex11.drv/xrandr.c
index 58e66d6..2fee851 100644
--- a/dlls/winex11.drv/xrandr.c
+++ b/dlls/winex11.drv/xrandr.c
@@ -431,7 +431,7 @@ static int xrandr12_init_modes(void)
 
     if (!output_info->nmode)
     {
-        ERR("Output has no modes.\n");
+        WARN("Output has no modes.\n");
         goto done;
     }
 
-- 
2.1.4




More information about the wine-patches mailing list