File u_Enable-DefaultRefresh-by-default.patch of Package xf86-video-vesa

From c8409ab331647ce19028f5424f0d9d3e8978c98e Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Wed, 11 Sep 2013 12:55:10 +0200
Subject: [PATCH] Use default refresh by default
    
This seems to be a feature that isn't tested well.
Too many VBE 3.0  BIOSes are incorrectly implemented.

---
 src/vesa.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/vesa.c b/src/vesa.c
index 9e3a112..c13e4bf 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -840,9 +840,11 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags)
     /* Use shadow by default */
     pVesa->shadowFB = xf86ReturnOptValBool(pVesa->Options, OPTION_SHADOW_FB,
                                            TRUE);
-
-    if (xf86ReturnOptValBool(pVesa->Options, OPTION_DFLT_REFRESH, FALSE))
-	pVesa->defaultRefresh = TRUE;
+    /*  Use default refresh by default. Too many VBE 3.0
+     *   BIOSes are incorrectly implemented.
+     */
+    pVesa->defaultRefresh = xf86ReturnOptValBool(pVesa->Options,
+                                                 OPTION_DFLT_REFRESH, TRUE);
 
     pVesa->ModeSetClearScreen =
         xf86ReturnOptValBool(pVesa->Options,
-- 
1.8.1.4