hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=0b6d1794d48ceecd17d5fe12010eb0246ade6e74
commit 0b6d1794d48ceecd17d5fe12010eb0246ade6e74 Author: Seunghun Lee <[email protected]> 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 337929f..6c50444 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -2278,6 +2278,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 --
