mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 08:10:03 +01:00
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>
This commit is contained in:
parent
07b03e721e
commit
04e320a4e4
1 changed files with 0 additions and 1 deletions
|
|
@ -475,7 +475,6 @@ compCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
|
||||||
* need to be copied to pNewPixmap.
|
* need to be copied to pNewPixmap.
|
||||||
*/
|
*/
|
||||||
RegionRec rgnDst;
|
RegionRec rgnDst;
|
||||||
PixmapPtr pPixmap = (*pScreen->GetWindowPixmap) (pWin);
|
|
||||||
GCPtr pGC;
|
GCPtr pGC;
|
||||||
|
|
||||||
dx = ptOldOrg.x - pWin->drawable.x;
|
dx = ptOldOrg.x - pWin->drawable.x;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue