cedric pushed a commit to branch master.

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

commit cf2786a84911d5a52d2af8bcae6610a2ee12d8ca
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Wed Apr 26 22:39:39 2017 +0200

    ecore_evas: fix test in the hide callback in Windows module
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/modules/ecore_evas/engines/win32/ecore_evas_win32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c 
b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
index 4f7901d..8505f46 100644
--- a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
+++ b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
@@ -361,8 +361,8 @@ _ecore_evas_win32_event_window_hide(void *data EINA_UNUSED, 
int type EINA_UNUSED
    if ((Ecore_Window)e->window != ee->prop.window) return 
ECORE_CALLBACK_PASS_ON;
    ee->prop.withdrawn = EINA_TRUE;
    if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
-   if (!ee->visible) return ECORE_CALLBACK_PASS_ON;
-   /* if (!ee->visible) return ECORE_CALLBACK_PASS_DONE; /\* dont pass it on 
*\/ */
+   if (ee->visible) return ECORE_CALLBACK_PASS_ON;
+   /* if (ee->visible) return ECORE_CALLBACK_PASS_DONE; /\* dont pass it on 
*\/ */
    ee->visible = 0;
    if (ee->func.fn_hide) ee->func.fn_hide(ee);
 

-- 


Reply via email to