summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/x/ecore_evas_x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/ecore_evas/engines/x/ecore_evas_x.c')
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 627dd15167..69e0709a30 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -2284,10 +2284,15 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
2284 { 2284 {
2285 if (ee->in_async_render) 2285 if (ee->in_async_render)
2286 { 2286 {
2287 ee->delayed.alpha = alpha; 2287 if (ee->visible)
2288 ee->delayed.alpha_changed = EINA_TRUE; 2288 {
2289 return; 2289 ee->delayed.alpha = alpha;
2290 ee->delayed.alpha_changed = EINA_TRUE;
2291 return;
2292 }
2290 } 2293 }
2294 if (ee->in_async_render)
2295 evas_sync(ee->evas);
2291 _alpha_do(ee, alpha); 2296 _alpha_do(ee, alpha);
2292 } 2297 }
2293 else if (!strcmp(ee->driver, "opengl_x11")) 2298 else if (!strcmp(ee->driver, "opengl_x11"))