forked from enlightenment/enlightenment
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
a6a93c05b4
commit
3948c1c910
|
@ -243,7 +243,8 @@ _e_fwin_client_hook_focus_unset(void *d EINA_UNUSED, E_Client *ec)
|
|||
E_Fwin *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);
|
||||
if (fwin)
|
||||
evas_object_focus_set(fwin->cur_page->fm_obj, 1);
|
||||
|
|
Loading…
Reference in New Issue