Henri Verbeet : winex11: Only warn when an RandR output has no modes.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 20 10:36:07 CDT 2016


Module: wine
Branch: master
Commit: 8a348a4b99515ed9095c49df513ed5a2fa77d4c2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8a348a4b99515ed9095c49df513ed5a2fa77d4c2

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Apr 19 18:34:08 2016 +0200

winex11: Only warn when an RandR output has no modes.

This can legitimately happen when the output is disconnected.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;
     }
 




More information about the wine-cvs mailing list