[xserver-commit] xserver/fb fbcopy.c,1.13.2.1,1.13.2.2
Keith Packard
xserver-commit@pdx.freedesktop.org
Thu, 23 Oct 2003 10:44:56 -0700
Committed by: keithp
Update of /cvs/xserver/xserver/fb
In directory pdx:/tmp/cvs-serv16628/fb
Modified Files:
Tag: xfixes_2_branch
fbcopy.c
Log Message:
* fb/fbcopy.c: (fbDoCopy):
Always call SourceValidate, even if src and dst are the same.
This lets the software cursor code use Damage and not have to
wrap all copy functions to see source effects.
Index: fbcopy.c
===================================================================
RCS file: /cvs/xserver/xserver/fb/fbcopy.c,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -u -d -r1.13.2.1 -r1.13.2.2
--- fbcopy.c 22 Oct 2003 06:00:49 -0000 1.13.2.1
+++ fbcopy.c 23 Oct 2003 17:44:54 -0000 1.13.2.2
@@ -422,8 +422,7 @@
return NULL;
}
- if ((pSrcDrawable != pDstDrawable) &&
- pSrcDrawable->pScreen->SourceValidate)
+ if (pSrcDrawable->pScreen->SourceValidate)
{
(*pSrcDrawable->pScreen->SourceValidate) (pSrcDrawable, xIn, yIn, widthSrc, heightSrc);
}