summaryrefslogtreecommitdiff
path: root/composite
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-01-19 17:20:49 -0500
committerAdam Jackson <ajax@redhat.com>2017-12-20 15:20:43 -0500
commit06d1c83d04a53f506ae3c8c3c86df5ae779b9ca9 (patch)
treed39f6caa90274ae7294de6307cc7dc8218f4e9d2 /composite
parentc70d8e5585ddcd3c9f5b4adac15eca1f9178d3c5 (diff)
composite: Export compIsAlternateVisual
Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com> (cherry picked from commit ef2345aaa28461a76f77c65240ce5facc180f98e)
Diffstat (limited to 'composite')
-rw-r--r--composite/compositeext.h2
-rw-r--r--composite/compwindow.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/composite/compositeext.h b/composite/compositeext.h
index b96cb1d68..5aad0735e 100644
--- a/composite/compositeext.h
+++ b/composite/compositeext.h
@@ -39,6 +39,8 @@ extern _X_EXPORT Bool CompositeRegisterImplicitRedirectionException(ScreenPtr pS
VisualID parentVisual,
VisualID winVisual);
+
+extern _X_EXPORT Bool compIsAlternateVisual(ScreenPtr pScreen, XID visual);
extern _X_EXPORT RESTYPE CompositeClientWindowType;
#endif /* _COMPOSITEEXT_H_ */
diff --git a/composite/compwindow.c b/composite/compwindow.c
index fa7d5749f..367f23eb7 100644
--- a/composite/compwindow.c
+++ b/composite/compwindow.c
@@ -320,7 +320,7 @@ compClipNotify(WindowPtr pWin, int dx, int dy)
}
}
-static Bool
+Bool
compIsAlternateVisual(ScreenPtr pScreen, XID visual)
{
CompScreenPtr cs = GetCompScreen(pScreen);