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:
17239ef
)
rotation: Update the value of rotation of client only available landscape.
39/77839/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Fri, 1 Jul 2016 08:36:18 +0000
(17:36 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Fri, 1 Jul 2016 08:36:18 +0000
(17:36 +0900)
Change-Id: I6e75d3159f529c8ff6cd67c0c807a4c6ad0f3af7
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
8792fff
..
2539f4f
100644
(file)
--- a/
src/rotation/e_mod_rotation_wl.c
+++ b/
src/rotation/e_mod_rotation_wl.c
@@
-225,6
+225,8
@@
_e_tizen_rotation_set_available_angles_cb(struct wl_client *client,
{
tizen_rotation_send_angle_change(res, tz_angle, serial);
}
+
+ ec->e.state.rot.ang.curr = TIZEN_ROTATION_ANGLE_TO_INT(tz_angle);
}
}
}
@@
-278,6
+280,8
@@
_e_tizen_rotation_set_preferred_angle_cb(struct wl_client *client,
{
tizen_rotation_send_angle_change(res, tz_angle, serial);
}
+
+ ec->e.state.rot.ang.curr = TIZEN_ROTATION_ANGLE_TO_INT(tz_angle);
}
}
}