[PATCH 09/18] composite: Remove duplicate window pixmap fetch

Keith Packard keithp at keithp.com
Mon Jan 13 10:17:49 PST 2014


There's nothing between the previous fetch and this one that could
cause the window pixmap to have changed.

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 composite/compwindow.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/composite/compwindow.c b/composite/compwindow.c
index 8dce21d..6c24349 100644
--- a/composite/compwindow.c
+++ b/composite/compwindow.c
@@ -475,7 +475,6 @@ compCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
              * need to be copied to pNewPixmap.
              */
             RegionRec rgnDst;
-            PixmapPtr pPixmap = (*pScreen->GetWindowPixmap) (pWin);
             GCPtr pGC;
 
             dx = ptOldOrg.x - pWin->drawable.x;
-- 
1.8.5.2



More information about the xorg-devel mailing list