forked from enlightenment/efl
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
This commit is contained in:
parent
040a35aae5
commit
10f5587cd9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue