discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=768252740b701ea2b508ac52cf98a60d7a194fbc

commit 768252740b701ea2b508ac52cf98a60d7a194fbc
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue May 3 20:26:00 2016 -0400

    don't revert focus to desktop fileman during compositor grab
    
    grabs indicate an action is already occurring and focus shouldn't be altered
---
 src/modules/fileman/e_fwin.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index f6cf55f..9709968 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -244,6 +244,7 @@ _e_fwin_client_hook_focus_unset(void *d EINA_UNUSED, 
E_Client *ec)
    /* if there is no new focused, set focus to zone fwin */
    if (e_client_focused_get() ||
        
(!e_client_util_ignored_get(e_desk_client_top_visible_get(e_desk_current_get(ec->zone)))))
 return;
+   if (e_comp_util_kbd_grabbed()) return;
    fwin = e_fwin_zone_find(ec->zone);
    if (fwin)
      evas_object_focus_set(fwin->cur_page->fm_obj, 1);

-- 


Reply via email to