hermet pushed a commit to branch elementary-1.15. http://git.enlightenment.org/core/elementary.git/commit/?id=c3ebffc185a8ceddba910868a746450458449334
commit c3ebffc185a8ceddba910868a746450458449334 Author: Seunghun Lee <shiin....@samsung.com> Date: Thu Aug 20 14:11:55 2015 +0900 elm_win: set wm rotation hints _elm_win_xwin_update(). Summary: if app sets available rotations before invoking elm_win_alpha_set(), wm rotation doesn't work. this patch fixes it. Test Plan: N/A Reviewers: jypark Reviewed By: jypark Differential Revision: https://phab.enlightenment.org/D2946 --- src/lib/elm_win.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 5c0d807..fe6e34c 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -2272,6 +2272,14 @@ _elm_win_xwin_update(Elm_Win_Data *sd) else if (sd->indmode == ELM_WIN_INDICATOR_HIDE) ecore_x_e_illume_indicator_state_set (sd->x.xwin, ECORE_X_ILLUME_INDICATOR_STATE_OFF); + + if ((sd->wm_rot.count) && (sd->wm_rot.rots)) + ecore_evas_wm_rotation_available_rotations_set(sd->ee, + sd->wm_rot.rots, + sd->wm_rot.count); + if (sd->wm_rot.preferred_rot != -1) + ecore_evas_wm_rotation_preferred_rotation_set(sd->ee, + sd->wm_rot.preferred_rot); } #endif --