PageRenderTime 17ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/x11/xserver/xorg-server/patches/xorg-server-1.11.2-11_use_sloppy_heuristic_first_for_initial_mode.patch

http://github.com/OpenELEC/OpenELEC.tv
Patch | 17 lines | 17 code | 0 blank | 0 comment | 0 complexity | 0c35204946f5f547e9b911a3337e003d MD5 | raw file
 1diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
 2index 7f6fad3..5e8a635 100644
 3--- a/hw/xfree86/modes/xf86Crtc.c
 4+++ b/hw/xfree86/modes/xf86Crtc.c
 5@@ -2379,10 +2379,10 @@ xf86InitialConfiguration (ScrnInfoPtr scrn, Bool canGrow)
 6 	    xf86DrvMsg(i, X_INFO, "Using user preference for initial modes\n");
 7 	else if (xf86TargetPreferred(scrn, config, modes, enabled, width, height))
 8 	    xf86DrvMsg(i, X_INFO, "Using exact sizes for initial modes\n");
 9-	else if (xf86TargetAspect(scrn, config, modes, enabled, width, height))
10-	    xf86DrvMsg(i, X_INFO, "Using fuzzy aspect match for initial modes\n");
11 	else if (xf86TargetFallback(scrn, config, modes, enabled, width, height))
12 	    xf86DrvMsg(i, X_INFO, "Using sloppy heuristic for initial modes\n");
13+	else if (xf86TargetAspect(scrn, config, modes, enabled, width, height))
14+	    xf86DrvMsg(i, X_INFO, "Using fuzzy aspect match for initial modes\n");
15 	else
16 	    xf86DrvMsg(i, X_WARNING, "Unable to find initial modes\n");
17     }