Module Name:    xsrc
Committed By:   mrg
Date:           Mon Aug 22 08:47:22 UTC 2016

Modified Files:
        xsrc/external/mit/xf86-video-sunffb/dist/src: ffb_dac.c

Log Message:
deal with an issue compat-api.h should deal with.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
    xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_dac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_dac.c
diff -u xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_dac.c:1.5 xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_dac.c:1.6
--- xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_dac.c:1.5	Fri Aug 19 19:16:01 2016
+++ xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_dac.c	Mon Aug 22 08:47:22 2016
@@ -566,8 +566,13 @@ FFBDacSaveScreen(ScreenPtr pScreen, int 
 
   if (redraw) {
     /* this causes a complete redraw of the screen */
+#ifdef XF86_SCRN_INTERFACE // compat-api.h
+    pScrn->EnableDisableFBAccess(pScrn, FALSE);
+    pScrn->EnableDisableFBAccess(pScrn, TRUE);
+#else
     pScrn->EnableDisableFBAccess(pScreen->myNum, FALSE);
     pScrn->EnableDisableFBAccess(pScreen->myNum, TRUE);
+#endif
   } 
   return TRUE;
 }

Reply via email to