nosquash: fix fileman stealing focus
desktop fileman should only receive focus if there is no client currently visible on the active desktop
This commit is contained in:
parent
157e3908e9
commit
93e613b9b2
|
@ -243,7 +243,8 @@ _e_fwin_client_hook_focus_unset(void *d EINA_UNUSED, E_Client *ec)
|
||||||
E_Fwin *fwin;
|
E_Fwin *fwin;
|
||||||
|
|
||||||
/* if there is no new focused, set focus to zone fwin */
|
/* if there is no new focused, set focus to zone fwin */
|
||||||
if (e_client_focused_get()) return;
|
if (e_client_focused_get() ||
|
||||||
|
e_desk_client_top_visible_get(e_desk_current_get(ec->zone))) return;
|
||||||
fwin = e_fwin_zone_find(ec->zone);
|
fwin = e_fwin_zone_find(ec->zone);
|
||||||
if (fwin)
|
if (fwin)
|
||||||
evas_object_focus_set(fwin->cur_page->fm_obj, 1);
|
evas_object_focus_set(fwin->cur_page->fm_obj, 1);
|
||||||
|
|
Loading…
Reference in New Issue