summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-03 20:26:00 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-03 20:27:03 -0400
commit768252740b701ea2b508ac52cf98a60d7a194fbc (patch)
treec2eba1188ab9463517b3b977dac913b3196968cb
parentecf22d6787fd01d37c026c743d495511a1804fce (diff)
don't revert focus to desktop fileman during compositor grab
grabs indicate an action is already occurring and focus shouldn't be altered
-rw-r--r--src/modules/fileman/e_fwin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index f6cf55f67..97099684e 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)
244 /* if there is no new focused, set focus to zone fwin */ 244 /* if there is no new focused, set focus to zone fwin */
245 if (e_client_focused_get() || 245 if (e_client_focused_get() ||
246 (!e_client_util_ignored_get(e_desk_client_top_visible_get(e_desk_current_get(ec->zone))))) return; 246 (!e_client_util_ignored_get(e_desk_client_top_visible_get(e_desk_current_get(ec->zone))))) return;
247 if (e_comp_util_kbd_grabbed()) return;
247 fwin = e_fwin_zone_find(ec->zone); 248 fwin = e_fwin_zone_find(ec->zone);
248 if (fwin) 249 if (fwin)
249 evas_object_focus_set(fwin->cur_page->fm_obj, 1); 250 evas_object_focus_set(fwin->cur_page->fm_obj, 1);