check for xcb engines in _alpha_set.src/lib/ecore_evas/ecore_evas_x.c

SVN revision: 29952
This commit is contained in:
tilman 2007-05-11 18:13:01 +00:00 committed by tilman
parent 84c04021f8
commit f6558699c2
1 changed files with 2 additions and 2 deletions

View File

@ -1717,7 +1717,7 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
{
if (((ee->alpha) && (alpha)) || ((!ee->alpha) && (!alpha)))
return;
if (!strcmp(ee->driver, "software_x11"))
if (!strcmp(ee->driver, "software_x11") || !strcmp(ee->driver, "software_xcb"))
{
#ifdef BUILD_ECORE_X
# ifdef HAVE_ECORE_X_XCB
@ -1789,7 +1789,7 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
}
#endif /* BUILD_ECORE_X */
}
else if (!strcmp(ee->driver, "xrender_x11"))
else if (!strcmp(ee->driver, "xrender_x11") || !strcmp(ee->driver, "xrender_xcb"))
{
#ifdef BUILD_ECORE_EVAS_XRENDER
# ifdef HAVE_ECORE_X_XCB