projects
/
platform
/
core
/
uifw
/
e-mod-tizen-wm-policy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89bf5de
)
rotation: fixed preferred rotation issue.
25/116625/2
author
Gwanglim Lee
<gl77.lee@samsung.com>
Mon, 27 Feb 2017 09:08:09 +0000
(18:08 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Mon, 27 Feb 2017 11:22:54 +0000
(20:22 +0900)
This fixes an issue that window is rotated freely even it sets preferred angle.
It was caused by missing setting for the client specified preferred angle.
Change-Id: If0c42be9527e50be7a49b51a5a3a4e603a8ef819
src/rotation/e_mod_rotation_wl.c
patch
|
blob
|
history
diff --git
a/src/rotation/e_mod_rotation_wl.c
b/src/rotation/e_mod_rotation_wl.c
index 79b0f4241f527e267377870d36267d0fd2a3d926..e0cd7a791254c579e86a2303a54963fb9f518048 100644
(file)
--- a/
src/rotation/e_mod_rotation_wl.c
+++ b/
src/rotation/e_mod_rotation_wl.c
@@
-408,6
+408,7
@@
_e_tizen_rotation_set_preferred_angle_cb(struct wl_client *client,
if (TIZEN_ROTATION_ANGLE_TO_INT(angle) == e_client_rotation_curr_angle_get(ec))
{
+ ec->e.state.rot.preferred_rot = TIZEN_ROTATION_ANGLE_TO_INT(angle);
EDBG(ec, "preferred angle is same as current angle. don't need to fetch.");
return;
}