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:
c6afbff
)
e_policy_wl: bug fix for activate_above request
12/297012/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Tue, 8 Aug 2023 09:36:27 +0000
(18:36 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Tue, 8 Aug 2023 23:41:07 +0000
(08:41 +0900)
When a transient_below child requests to activate above its parent,
then e doesn't allow this request.
Change-Id: Ieb56f9364ce86bd42c69954a49e47f757eaf2fa4
src/bin/e_policy_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_policy_wl.c
b/src/bin/e_policy_wl.c
index
663302c
..
1f9e6df
100644
(file)
--- a/
src/bin/e_policy_wl.c
+++ b/
src/bin/e_policy_wl.c
@@
-1664,6
+1664,15
@@
_tzpol_iface_cb_activate_above_by_res_id(struct wl_client *client EINA_UNUSED, s
}
if (check_ancestor) return;
+ if (ec->parent && (ec->parent == above_ec))
+ {
+ if (e_client_transient_policy_get(ec) == E_TRANSIENT_BELOW)
+ {
+ ELOGF("TZPOL", "ACTIVATE_ABOVE|Denied. Above is transient_below parent", ec);
+ return;
+ }
+ }
+
if (!starting)
{
if ((ec->iconic) && (!e_client_is_iconified_by_client(ec)))