projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6a93c0
)
fix fileman stealing focus
author
discomfitor
<michael.blumenkrantz@gmail.com>
Sat, 19 Oct 2013 11:14:51 +0000
(12:14 +0100)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Wed, 15 Jan 2014 01:28:59 +0000
(20:28 -0500)
desktop fileman should only receive focus if there is no client currently visible on the active desktop
src/modules/fileman/e_fwin.c
patch
|
blob
|
history
diff --git
a/src/modules/fileman/e_fwin.c
b/src/modules/fileman/e_fwin.c
index
fe4beae
..
a5fe9a8
100644
(file)
--- a/
src/modules/fileman/e_fwin.c
+++ b/
src/modules/fileman/e_fwin.c
@@
-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);