jypark pushed a commit to branch master.
commit 8653a45cb1e8949864cfeb72668b3107465dbbf4
Author: Jiyoun Park <[email protected]>
Date: Fri Mar 22 18:49:46 2013 +0900
* Ecore_x: fix alpha set function not clear sync counter
---
ChangeLog | 4 ++++
NEWS | 1 +
src/modules/ecore_evas/engines/x/ecore_evas_x.c | 2 ++
3 files changed, 7 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 9b3856c..fe187f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-22 Jiyoun Park (Jypark)
+
+ * Ecore_x: fix alpha set function not clear sync counter
+
2013-03-22 Cedric Bail
* Edje: Add spread width and height in TABLE part.
diff --git a/NEWS b/NEWS
index 8c8fb6c..571e40c 100644
--- a/NEWS
+++ b/NEWS
@@ -207,3 +207,4 @@ Fixes:
* fix setting of write flags on ecore-con servers during connect
* fix gles support to only use GL_UNPACK_ROW_LENGTH if extension exists
* Fix magic failure in eina_value_array_count when array has not been
allocated
+ * Ecore_x: fix alpha set function not clear sync counter
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 cc6830f..534bae6 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -2161,6 +2161,7 @@ _alpha_do(Ecore_Evas *ee, int alpha)
ee->shaped = 0;
ee->alpha = alpha;
+ _ecore_evas_x_sync_clear(ee);
ecore_x_window_free(ee->prop.window);
ecore_event_window_unregister(ee->prop.window);
if (ee->alpha)
@@ -2268,6 +2269,7 @@ _ecore_evas_x_alpha_set(Ecore_Evas *ee, int alpha)
ee->shaped = 0;
ee->alpha = alpha;
+ _ecore_evas_x_sync_clear(ee);
ecore_x_window_free(ee->prop.window);
ecore_event_window_unregister(ee->prop.window);
ee->prop.window = 0;
--
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar