From fae947f8eafe66baa416aa40137786ea03f2c934 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 10 Sep 2010 06:57:21 +0000 Subject: [PATCH] do extra composite checks - need to do the lot to be useful. SVN revision: 52121 --- .../src/lib/ecore_x/xlib/ecore_x_composite.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c index b36c74f5e5..341637aaea 100644 --- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c +++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c @@ -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