yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=5c38c318a8d8e9094db4de339e6c106426fafdab

commit 5c38c318a8d8e9094db4de339e6c106426fafdab
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Wed Nov 18 13:52:15 2015 +0200

    Keep windows not modal even if modal prop changes
---
 src/bin/gui/editor.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index ff3f16a..19c9816 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -1331,6 +1331,10 @@ _widget_prop_add(Gui_Session *session, const Gui_Widget 
*wdg, const Gui_Widget_P
              if (win) eo_do(win, efl_gfx_visible_set(EINA_TRUE));
              eo_do(fr, efl_gfx_visible_set(EINA_TRUE));
           }
+        if (IS_WIN(wdg) && !strcmp(prop_name_get(prop), MODAL_SET))
+          {
+             eo_do(o, elm_obj_win_modal_set(EINA_FALSE));
+          }
      }
    if (IS_LAYOUT(wdg) && !strcmp(prop_name_get(prop), FILE_SET))
      {

-- 


Reply via email to