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:
c15a424
)
e_policy_visibility: check children's map_state while handling iconify window
79/121479/2
author
Doyoun Kang
<doyoun.kang@samsung.com>
Tue, 28 Mar 2017 06:00:42 +0000
(15:00 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Tue, 28 Mar 2017 06:08:34 +0000
(15:08 +0900)
There was a bug that the window is not iconified by visibility when its child is not mapped.
So, we added code to check children's map state.
Change-Id: I26e7df2171e3a513b687e877addb4bad8a90d40b
src/bin/e_policy_visibility.c
patch
|
blob
|
history
diff --git
a/src/bin/e_policy_visibility.c
b/src/bin/e_policy_visibility.c
index f44b7e0ae94eef336ee42d64d3ea940bd51923c1..23f3defb3a299bb0f652847f5bcfbc45c1811333 100644
(file)
--- a/
src/bin/e_policy_visibility.c
+++ b/
src/bin/e_policy_visibility.c
@@
-121,6
+121,9
@@
_e_policy_check_transient_child_visible(E_Client *ancestor_ec, E_Client *ec)
{
if (visible == EINA_TRUE) continue;
+ if (!child_ec->comp_data) continue;
+ if (!child_ec->comp_data->mapped) continue;
+
if ((child_ec->exp_iconify.skip_iconify == EINA_TRUE) ||
(child_ec->exp_iconify.skip_by_remote == EINA_TRUE))
{