yakov pushed a commit to branch master.

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

commit 5f19ed9457c47b0004b46876f290789e92219e99
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Sun Dec 13 16:13:43 2015 +0200

    No need to call _wdg_border_draw from here
    
    Border will be hided automatically when switching contexts
---
 src/bin/gui/editor.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index 2406d1e..104c1a3 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -4259,10 +4259,6 @@ _context_main_widgets_visibility_set(Gui_Context *ctx, 
Eina_Bool visible)
    EINA_LIST_FOREACH(widgets, l, eid)
      {
         Gui_Widget *wdg = wdg_get(eid);
-        /* When main widget was selected, while switching context,
-         * need to force hiding its border. */
-        if (!visible)
-          _wdg_border_draw(wdg, EINA_FALSE, BORDER_SELECTION);
         Main_Wdg_Info *wi = wdg_data_get(wdg, MAIN_WDG_INFO);
         Eo *fr = main_wdg_info_frame_get(wi);
         eo_do(fr, efl_gfx_visible_set(visible));

-- 


Reply via email to