summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-15 01:52:58 -0800
committerKeith Packard <keithp@keithp.com>2014-01-22 19:56:32 -0800
commit04e320a4e4e1f46bf95e36078d93b4d18a0ef855 (patch)
treeef137616f49187f86321b6a1407f358eacb9af1f
parent07b03e721e4dbec1a640c9b3bb8a2d5902587e63 (diff)
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 <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--composite/compwindow.c1
1 files changed, 0 insertions, 1 deletions
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;