Compare commits
1 Commits
master
...
submit/com
Author | SHA1 | Date | |
---|---|---|---|
|
bc0ebbe471 |
|
@ -216,28 +216,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