discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4dee74207970a086074fd8398c9f50424c9c8f69

commit 4dee74207970a086074fd8398c9f50424c9c8f69
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Apr 30 16:05:21 2015 -0400

    don't destroy efm icon entry on client focus-in if icon's client is being 
focused
---
 src/bin/e_fm.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index a222533..b16d578 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -10356,10 +10356,13 @@ _e_fm2_file_rename(void *data, E_Menu *m EINA_UNUSED, 
E_Menu_Item *mi EINA_UNUSE
  * from e_widget_entry.
  */
 static void
-_e_fm2_icon_entry_widget_focus_out(void *data, E_Client *ec EINA_UNUSED)
+_e_fm2_icon_entry_widget_focus_out(void *data, E_Client *ec)
 {
    E_Fm2_Icon *ic = data;
+   Evas_Object *win;
 
+   win = e_win_evas_win_get(evas_object_evas_get(ic->obj));
+   if ((win != e_comp->elm) && (ec == e_win_client_get(win))) return;
    if (ic->entry_widget)
      _e_fm2_icon_entry_widget_del(ic);
 }

-- 


Reply via email to