summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-17 00:00:05 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-10-17 00:00:05 +0900
commit06c3c0cd0c0e2af7279470ab5b3fd3100e1499db (patch)
tree3e4e4c1b65483be83345d839e5f8b037561279a2 /src/modules
parent7d7f548afcfcb0a69fe1694b7c68f36cecc74d89 (diff)
async render -> alpha set. if not visible dont WAIT. do it now.
Diffstat (limited to 'src/modules')
-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"))