composite: Expose CompositeIsImplicitRedirectException
Make it usable by code outside of the composite layer.
This commit is contained in:
parent
ff0c252e57
commit
9fb1f0ef22
|
@ -41,6 +41,8 @@ extern _X_EXPORT Bool CompositeRegisterImplicitRedirectionException(ScreenPtr pS
|
|||
|
||||
|
||||
extern _X_EXPORT Bool compIsAlternateVisual(ScreenPtr pScreen, XID visual);
|
||||
Bool CompositeIsImplicitRedirectException(ScreenPtr pScreen,
|
||||
XID parentVisual, XID winVisual);
|
||||
extern _X_EXPORT RESTYPE CompositeClientWindowType;
|
||||
|
||||
#endif /* _COMPOSITEEXT_H_ */
|
||||
|
|
|
@ -339,8 +339,8 @@ compIsAlternateVisual(ScreenPtr pScreen, XID visual)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
static Bool
|
||||
compIsImplicitRedirectException(ScreenPtr pScreen,
|
||||
Bool
|
||||
CompositeIsImplicitRedirectException(ScreenPtr pScreen,
|
||||
XID parentVisual, XID winVisual)
|
||||
{
|
||||
CompScreenPtr cs = GetCompScreen(pScreen);
|
||||
|
@ -362,7 +362,7 @@ compImplicitRedirect(WindowPtr pWin, WindowPtr pParent)
|
|||
XID winVisual = wVisual(pWin);
|
||||
XID parentVisual = wVisual(pParent);
|
||||
|
||||
if (compIsImplicitRedirectException(pScreen, parentVisual, winVisual))
|
||||
if (CompositeIsImplicitRedirectException(pScreen, parentVisual, winVisual))
|
||||
return FALSE;
|
||||
|
||||
if (winVisual != parentVisual &&
|
||||
|
|
Loading…
Reference in New Issue