forked from enlightenment/efl
do extra composite checks - need to do the lot to be useful.
SVN revision: 52121
This commit is contained in:
parent
31c1225bd7
commit
fae947f8ea
|
@ -16,9 +16,20 @@ _ecore_x_composite_init(void)
|
|||
int major, minor;
|
||||
|
||||
if (XCompositeQueryVersion(_ecore_x_disp, &major, &minor))
|
||||
_composite_available = 1;
|
||||
|
||||
#endif /* ifdef ECORE_XCOMPOSITE */
|
||||
{
|
||||
# ifdef ECORE_XRENDER
|
||||
if (XRenderQueryExtension(_ecore_x_disp, &major, &minor))
|
||||
{
|
||||
# ifdef ECORE_XFIXES
|
||||
if (XFixesQueryVersion(_ecore_x_disp, &major, &minor))
|
||||
{
|
||||
_composite_available = 1;
|
||||
}
|
||||
# endif
|
||||
}
|
||||
# endif
|
||||
}
|
||||
#endif
|
||||
} /* _ecore_x_composite_init */
|
||||
|
||||
EAPI int
|
||||
|
|
Loading…
Reference in New Issue