projects
/
platform
/
core
/
uifw
/
e-mod-tizen-effect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64047fb
)
keyboard effect: ang params to refer screen rotation
81/146981/1
author
Juyeon Lee
<juyeonne.lee@samsung.com>
Thu, 31 Aug 2017 10:41:39 +0000
(19:41 +0900)
committer
Juyeon Lee
<juyeonne.lee@samsung.com>
Thu, 31 Aug 2017 10:41:39 +0000
(19:41 +0900)
Change-Id: I5c1f945180b4373cbd603910d8f779f3c2591db7
src/e_mod_effect.c
patch
|
blob
|
history
diff --git
a/src/e_mod_effect.c
b/src/e_mod_effect.c
index
cfa6912
..
0f8fa31
100644
(file)
--- a/
src/e_mod_effect.c
+++ b/
src/e_mod_effect.c
@@
-313,8
+313,15
@@
_eff_group_angle_get(E_Client *ec, E_Effect_Group group)
{
if (group == E_EFFECT_GROUP_KEYBOARD)
{
- if (ec->parent)
- return ec->parent->e.state.rot.ang.curr;
+ if (ec->parent)
+ {
+ int buffer_transform = e_comp_wl_output_buffer_transform_get(ec);
+ int rot = ec->parent->e.state.rot.ang.curr;
+
+ rot = (rot + (buffer_transform * 90)) % 360;
+
+ return rot;
+ }
}
return ec->e.state.rot.ang.curr;