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:
974815f
)
rotation: allow TIZEN_ROTATION_ANGLE_NONE as a preferred angle
81/116581/3
author
Duna Oh
<duna.oh@samsung.com>
Mon, 27 Feb 2017 05:59:59 +0000
(14:59 +0900)
committer
Duna Oh
<duna.oh@samsung.com>
Mon, 27 Feb 2017 06:52:04 +0000
(15:52 +0900)
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I5f15cbb628bd01a10abf69915a6250e512f4eec3
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
9e913a6
..
79b0f42
100644
(file)
--- a/
src/rotation/e_mod_rotation_wl.c
+++ b/
src/rotation/e_mod_rotation_wl.c
@@
-396,7
+396,8
@@
_e_tizen_rotation_set_preferred_angle_cb(struct wl_client *client,
if (!ec)
return;
- if (!e_mod_pol_conf_rot_enable_get(TIZEN_ROTATION_ANGLE_TO_INT(angle)))
+ if ((angle != TIZEN_ROTATION_ANGLE_NONE) &&
+ (!e_mod_pol_conf_rot_enable_get(TIZEN_ROTATION_ANGLE_TO_INT(angle))))
{
ELOGF("ROTATION", "Preferred angle(%d) is not allowed. CONF disabled",
ec->pixmap, ec, TIZEN_ROTATION_ANGLE_TO_INT(angle));