[PATCH] rootless: change the last calls to compatibility wrapper fbCopyRegion()

Colin Harrison colin.harrison at virgin.net
Fri Jul 16 11:30:32 PDT 2010


Hi,

Another cleanup in the rootless code..miext/rootless contains the last calls
to compatibility wrapper fbCopyRegion().
This patch updates to the new function...

--- ./miext/rootless/save_rootlessWindow.c	2010-06-06
06:21:44.000000000 +0100
+++ ./miext/rootless/rootlessWindow.c	2010-06-06 06:22:50.000000000 +0100
@@ -701,7 +701,7 @@
     if (gResizeDeathCount == 1) {
         /* Simple case, we only have a single source pixmap. */
 
-        fbCopyRegion(&gResizeDeathPix[0]->drawable,
+        miCopyRegion(&gResizeDeathPix[0]->drawable,
                      &pScreen->GetWindowPixmap(pWin)->drawable, 0,
                      &rgnDst, dx, dy, fbCopyWindowProc, 0, 0);
     }
@@ -717,7 +717,7 @@
             RegionNull(&clipped);
             RegionIntersect(&rgnDst, &clip, &clipped);
 
-            fbCopyRegion(&gResizeDeathPix[i]->drawable,
+            miCopyRegion(&gResizeDeathPix[i]->drawable,
                          &pScreen->GetWindowPixmap(pWin)->drawable, 0,
                          &clipped, dx, dy, fbCopyWindowProc, 0, 0);
 
@@ -798,7 +798,7 @@
     else {
         RootlessStartDrawing(pWin);
 
-        fbCopyRegion((DrawablePtr) pWin, (DrawablePtr) pWin,
+        miCopyRegion((DrawablePtr) pWin, (DrawablePtr) pWin,
                      0, &rgnDst, dx, dy, fbCopyWindowProc, 0, 0);
 
         /* prgnSrc has been translated to dst position */


Thanks,
Colin Harrison




More information about the xorg-devel mailing list