summaryrefslogtreecommitdiff
path: root/mi/mi.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2019-10-09 11:27:12 -0400
committerAdam Jackson <ajax@nwnk.net>2019-10-30 16:26:01 +0000
commitff310903f34ac34c916ad74e919d1ac12aea4715 (patch)
treeebf341ad2e56854c931b8218176d09c688882dc8 /mi/mi.h
parent89a9927b1e5ac416441a33b44abddf8372edfe6a (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 'mi/mi.h')
-rw-r--r--mi/mi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mi/mi.h b/mi/mi.h
index db62c9166..2cd3066c1 100644
--- a/mi/mi.h
+++ b/mi/mi.h
@@ -360,6 +360,10 @@ extern _X_EXPORT void miPushPixels(GCPtr /*pGC */ ,
/* miscrinit.c */
+extern _X_EXPORT void
+miSourceValidate(DrawablePtr pDrawable, int x, int y, int w, int h,
+ unsigned int subWindowMode);
+
extern _X_EXPORT Bool miModifyPixmapHeader(PixmapPtr pPixmap,
int width,
int height,