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:
90f9b94
)
e_focus_policy_history: Correct the order of the newly visible E_Client
59/308959/2
author
Junseok Kim
<juns.kim@samsung.com>
Wed, 3 Apr 2024 05:11:21 +0000
(14:11 +0900)
committer
JunSeok Kim
<juns.kim@samsung.com>
Wed, 3 Apr 2024 06:24:50 +0000
(06:24 +0000)
To following the focus history policy,
When adding a newly visible "EC" to the focus history, add it after the client that has higher layer.
Change-Id: Iffa46e4ad1b93802b7a8abe0c17a971b59999abf
src/bin/e_focus_policy_history.c
patch
|
blob
|
history
diff --git
a/src/bin/e_focus_policy_history.c
b/src/bin/e_focus_policy_history.c
index
85b0dec
..
f0a35bb
100644
(file)
--- a/
src/bin/e_focus_policy_history.c
+++ b/
src/bin/e_focus_policy_history.c
@@
-964,6
+964,7
@@
_e_focus_policy_history_focus_stack_append_current_focused(E_Focus_Policy_Histor
EINA_LIST_FOREACH(history_policy->focus_stack, l, temp_ec)
{
if (temp_ec != focused_ec) continue;
+ if (temp_ec->layer > ec->layer) continue;
history_policy->focus_stack = eina_list_append_relative_list(history_policy->focus_stack, ec, l);
return;