mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-03 22:25:44 +00:00
Add subWindowMode parameter to SourceValidate
Pass the subWindowMode from the GC/source Picture to SourceValidate. Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
0dede200c9
commit
e41e907b3c
11 changed files with 29 additions and 17 deletions
|
|
@ -2954,6 +2954,7 @@ The sample server implementation is in Xserver/fb/fbscreen.c.</para>
|
|||
pScreen->SourceValidate(pDrawable, x, y, width, height)
|
||||
DrawablePtr pDrawable;
|
||||
int x, y, width, height;
|
||||
unsigned int subWindowMode;
|
||||
|
||||
</programlisting></blockquote>
|
||||
SourceValidate should be called by CopyArea/CopyPlane primitives when
|
||||
|
|
@ -2963,7 +2964,8 @@ 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.
|
||||
x,y,width,height describe the source rectangle (source relative, that is)
|
||||
for the copy operation.</para>
|
||||
for the copy operation. subWindowMode comes from the GC or source Picture.
|
||||
</para>
|
||||
<para>
|
||||
<blockquote><programlisting>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue