compext: drop unused function CompositeRegisterImplicitRedirectionException()
Not used anywhere, neither internal nor drivers, so no need to keep it around. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
468e331cc9
commit
abfa0b888c
|
@ -213,28 +213,6 @@ CompositeRegisterAlternateVisuals(ScreenPtr pScreen, VisualID * vids,
|
|||
return compRegisterAlternateVisuals(cs, vids, nVisuals);
|
||||
}
|
||||
|
||||
Bool
|
||||
CompositeRegisterImplicitRedirectionException(ScreenPtr pScreen,
|
||||
VisualID parentVisual,
|
||||
VisualID winVisual)
|
||||
{
|
||||
CompScreenPtr cs = GetCompScreen(pScreen);
|
||||
CompImplicitRedirectException *p;
|
||||
|
||||
p = reallocarray(cs->implicitRedirectExceptions,
|
||||
cs->numImplicitRedirectExceptions + 1, sizeof(p[0]));
|
||||
if (p == NULL)
|
||||
return FALSE;
|
||||
|
||||
p[cs->numImplicitRedirectExceptions].parentVisual = parentVisual;
|
||||
p[cs->numImplicitRedirectExceptions].winVisual = winVisual;
|
||||
|
||||
cs->implicitRedirectExceptions = p;
|
||||
cs->numImplicitRedirectExceptions++;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
typedef struct _alternateVisual {
|
||||
int depth;
|
||||
CARD32 format;
|
||||
|
|
|
@ -35,11 +35,6 @@ extern _X_EXPORT Bool CompositeRegisterAlternateVisuals(ScreenPtr pScreen,
|
|||
VisualID * vids,
|
||||
int nVisuals);
|
||||
|
||||
extern _X_EXPORT Bool CompositeRegisterImplicitRedirectionException(ScreenPtr pScreen,
|
||||
VisualID parentVisual,
|
||||
VisualID winVisual);
|
||||
|
||||
|
||||
extern _X_EXPORT Bool compIsAlternateVisual(ScreenPtr pScreen, XID visual);
|
||||
|
||||
extern _X_EXPORT RESTYPE CompositeClientWindowType;
|
||||
|
|
Loading…
Reference in New Issue