From b838ba8166bf9af170181a59aafa1c5bbc98b915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 8 Feb 2021 18:39:11 +0100 Subject: [PATCH] tests/stage-view-tests: Make 'wait_for_paint()' block Otherwise it's a busy loop, skipping any poll():ing. Part-of: --- src/tests/stage-view-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/stage-view-tests.c b/src/tests/stage-view-tests.c index 8e680eff0..9604a4ab5 100644 --- a/src/tests/stage-view-tests.c +++ b/src/tests/stage-view-tests.c @@ -128,7 +128,7 @@ wait_for_paint (ClutterActor *stage) &was_painted); while (!was_painted) - g_main_context_iteration (NULL, FALSE); + g_main_context_iteration (NULL, TRUE); g_signal_handler_disconnect (stage, was_painted_id); }