From 04e320a4e4e1f46bf95e36078d93b4d18a0ef855 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 15 Dec 2013 01:52:58 -0800 Subject: [PATCH] composite: Remove duplicate window pixmap fetch There's nothing between the previous fetch and this one that could cause the window pixmap to have changed. Signed-off-by: Keith Packard Reviewed-by: Eric Anholt --- composite/compwindow.c | 1 - 1 file changed, 1 deletion(-) diff --git a/composite/compwindow.c b/composite/compwindow.c index 8dce21d9b..6c2434959 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;