devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=93228108efaf6097ac680664bdb9158b5cf57499
commit 93228108efaf6097ac680664bdb9158b5cf57499 Author: Mike Blumenkrantz <[email protected]> Date: Mon Jun 25 15:20:27 2018 -0400 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 --- src/lib/elementary/efl_ui_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 8752d90aca..6b19306f3a 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -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 --
