summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-21 13:08:56 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-25 15:26:47 +0100
commit1e54bb7d9ee9b1eaf25994c5b2508ea597cd0fe7 (patch)
tree6ab959fca510179540406c1530a093d77d5de644 /src/tests
parent644364f0a9020bb3df7c50fdd7a0d93f8bf96d95 (diff)
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
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/elementary/suite_helpers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/elementary/suite_helpers.c b/src/tests/elementary/suite_helpers.c
index 873e467ab2..9d870d2202 100644
--- a/src/tests/elementary/suite_helpers.c
+++ b/src/tests/elementary/suite_helpers.c
@@ -7,6 +7,9 @@
7#include "eo_internal.h" 7#include "eo_internal.h"
8#include "../efl_check.h" 8#include "../efl_check.h"
9#include "elm_widget.h" 9#include "elm_widget.h"
10#include "ecore_private.h"
11#include "ecore_evas_private.h"
12
10 13
11static int main_pid = -1; 14static int main_pid = -1;
12static Eina_Bool did_shutdown; 15static Eina_Bool did_shutdown;
@@ -132,6 +135,7 @@ _win_manual_render(void *data, const Efl_Event *event EINA_UNUSED)
132 135
133 ecore_loop_time_set(t + LOOP_INCREMENT); 136 ecore_loop_time_set(t + LOOP_INCREMENT);
134 ecore_animator_custom_tick(); 137 ecore_animator_custom_tick();
138 ecore_evas_render_prepare(ecore_evas_ecore_evas_get(evas_object_evas_get(data)));
135 evas_norender(evas_object_evas_get(data)); 139 evas_norender(evas_object_evas_get(data));
136} 140}
137 141