forked from enlightenment/efl
elm/win: move trigger for "shot" to first pre-render callback
Summary: in the case where the first render took far longer then the specified shot interval, this would end up recording garbage since there was nothing drawn yet @fix fix T6929 Reviewers: bu5hm4n, JackDanielZ, devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T6929 Differential Revision: https://phab.enlightenment.org/D6426
This commit is contained in:
parent
7bbf18a950
commit
93228108ef
|
@ -1026,6 +1026,7 @@ _elm_win_pre_render(Ecore_Evas *ee)
|
|||
ecore_x_window_shape_input_rectangle_set(sd->x.xwin, 0, 0, 0, 0);
|
||||
#endif
|
||||
sd->first_draw = EINA_TRUE;
|
||||
if (sd->shot.info) _shot_handle(sd);
|
||||
}
|
||||
if (sd->deferred_resize_job)
|
||||
{
|
||||
|
@ -2383,7 +2384,6 @@ _efl_ui_win_show(Eo *obj, Efl_Ui_Win_Data *sd)
|
|||
}
|
||||
_elm_win_state_eval(NULL);
|
||||
}
|
||||
if (sd->shot.info) _shot_handle(sd);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue