rpms/xorg-x11-drv-vesa/devel vesa-1.2.1-randr-crash.patch,NONE,1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jul 31 13:57:54 UTC 2006


Author: ajackson

Update of /cvs/dist/rpms/xorg-x11-drv-vesa/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27652

Added Files:
	vesa-1.2.1-randr-crash.patch 
Log Message:
* Fri Jul 28 2006 Adam Jackson <ajackson at redhat.com> 1.2.1-2
- vesa-1.2.1-randr-crash.patch: Fix a RANDR crash.


vesa-1.2.1-randr-crash.patch:
 vesa.c |    8 +-------
 1 files changed, 1 insertion(+), 7 deletions(-)

--- NEW FILE vesa-1.2.1-randr-crash.patch ---
--- xf86-video-vesa-1.2.1/src/vesa.c.randr-crash	2006-06-03 05:46:00.000000000 -0400
+++ xf86-video-vesa-1.2.1/src/vesa.c	2006-07-28 16:56:44.000000000 -0400
@@ -1020,15 +1020,9 @@
 VESASwitchMode(int scrnIndex, DisplayModePtr pMode, int flags)
 {
     ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
-    VESAPtr pVesa = VESAGetRec(pScrn);
     Bool ret;
 
-    if (pVesa->ModeSetClearScreen) 
-	pScrn->EnableDisableFBAccess(scrnIndex,FALSE);
-    ret = VESASetMode(xf86Screens[scrnIndex], pMode);
-    if (pVesa->ModeSetClearScreen) 
-	pScrn->EnableDisableFBAccess(scrnIndex,TRUE);
-    return ret;
+    return VESASetMode(pScrn, pMode);
 }
 
 /* Set a graphics mode */




More information about the fedora-cvs-commits mailing list