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:
f9fd140
)
e_focus: raise parent window in mouse down callback
88/297288/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Wed, 16 Aug 2023 08:09:43 +0000
(17:09 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Wed, 16 Aug 2023 09:23:58 +0000
(18:23 +0900)
We add code to raise the parent window when the mouse down event is occured on below cases.
- the "always_click_to_raise" config is enabled.
- the parent and child makes its relationship as belong_to_parent property
Change-Id: Ic91e15932d534c49cdf19f60f2ab0ba0844ea5fc
src/bin/e_focus.c
patch
|
blob
|
history
diff --git
a/src/bin/e_focus.c
b/src/bin/e_focus.c
index
62845c6
..
c4104a9
100644
(file)
--- a/
src/bin/e_focus.c
+++ b/
src/bin/e_focus.c
@@
-62,6
+62,12
@@
e_focus_event_mouse_down(E_Client *ec)
{
if (!ec->lock_user_stacking)
e_client_raise(ec);
+
+ if (ec->parent && e_client_is_belong_to_parent(ec))
+ {
+ if (!ec->parent->lock_user_stacking)
+ e_client_raise(ec->parent);
+ }
}
}