antognolli pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cb3fcca0e7f6af0dd095a0ea5ec0f2360ab4269d

commit cb3fcca0e7f6af0dd095a0ea5ec0f2360ab4269d
Author: Rafael Antognolli <rafael.antogno...@intel.com>
Date:   Wed Dec 4 18:50:19 2013 -0200

    ecore_evas/wayland: Update withdrawn property, and inform state_changed.
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 8c02856..2d03700 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1484,10 +1484,17 @@ _ecore_evas_wl_common_withdrawn_set(Ecore_Evas *ee, int 
val)
 {
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
 
+   val = !!val;
+
+   if (ee->prop.withdrawn == val)
+     return;
+
+   ee->prop.withdrawn = val;
    if (val)
      ecore_evas_hide(ee);
    else
      ecore_evas_show(ee);
+   _ecore_evas_wl_common_state_update(ee);
 }
 
 void

-- 


Reply via email to