[PATCH 05/10] composite: Remove duplicate window pixmap fetch

Keith Packard keithp at keithp.com
Sun Dec 15 02:03:08 PST 2013


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.1



More information about the xorg-devel mailing list