diff options
author | Adam Jackson <ajax@redhat.com> | 2019-10-09 11:27:12 -0400 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2019-10-30 16:26:01 +0000 |
commit | ff310903f34ac34c916ad74e919d1ac12aea4715 (patch) | |
tree | ebf341ad2e56854c931b8218176d09c688882dc8 /doc | |
parent | 89a9927b1e5ac416441a33b44abddf8372edfe6a (diff) |
mi: Add a default no-op miSourceValidate
Slightly simplifies the callers since they don't need to check for
non-NULL anymore.
I do extremely hate the workarounds here to suppress misprite taking the
cursor down though. Surely there's a better way.
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Xserver-spec.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Xserver-spec.xml b/doc/Xserver-spec.xml index c89ec527c..2c7e17a86 100644 --- a/doc/Xserver-spec.xml +++ b/doc/Xserver-spec.xml @@ -2918,8 +2918,8 @@ The sample server implementation is in Xserver/fb/fbscreen.c.</para> unsigned int subWindowMode; </programlisting></blockquote> -SourceValidate should be called by CopyArea/CopyPlane primitives when -the SourceValidate function pointer in the screen is non-null. If you know that +SourceValidate should be called by any primitive that reads from pDrawable. +If you know that you will never need SourceValidate, you can avoid this check. Currently, SourceValidate is used by the mi software cursor code to remove the cursor from the screen when the source rectangle overlaps the cursor position. |