mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-03 03:24:39 +00:00
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>
This commit is contained in:
parent
89a9927b1e
commit
ff310903f3
13 changed files with 34 additions and 34 deletions
|
|
@ -180,9 +180,8 @@ compSourceValidate(DrawablePtr pDrawable,
|
|||
pScreen->SourceValidate = cs->SourceValidate;
|
||||
if (pDrawable->type == DRAWABLE_WINDOW && subWindowMode == IncludeInferiors)
|
||||
compPaintChildrenToWindow((WindowPtr) pDrawable);
|
||||
if (pScreen->SourceValidate)
|
||||
(*pScreen->SourceValidate) (pDrawable, x, y, width, height,
|
||||
subWindowMode);
|
||||
(*pScreen->SourceValidate) (pDrawable, x, y, width, height,
|
||||
subWindowMode);
|
||||
cs->SourceValidate = pScreen->SourceValidate;
|
||||
pScreen->SourceValidate = compSourceValidate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue