tests: make elm_win visible during tests

elm_win has some internal locking to avoid doing sizing and visibility
changes until pre-render to save some calculations. this makes triggering
ui events on objects impossible, as they will not be visible.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8438
This commit is contained in:
Mike Blumenkrantz 2019-03-21 13:08:56 -04:00 committed by Marcel Hollerbach
parent 644364f0a9
commit 1e54bb7d9e
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,9 @@
#include "eo_internal.h"
#include "../efl_check.h"
#include "elm_widget.h"
#include "ecore_private.h"
#include "ecore_evas_private.h"
static int main_pid = -1;
static Eina_Bool did_shutdown;
@ -132,6 +135,7 @@ _win_manual_render(void *data, const Efl_Event *event EINA_UNUSED)
ecore_loop_time_set(t + LOOP_INCREMENT);
ecore_animator_custom_tick();
ecore_evas_render_prepare(ecore_evas_ecore_evas_get(evas_object_evas_get(data)));
evas_norender(evas_object_evas_get(data));
}