[mutter] tests/stage-view-tests: Make 'wait_for_paint()' block
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] tests/stage-view-tests: Make 'wait_for_paint()' block
- Date: Mon, 8 Feb 2021 22:03:03 +0000 (UTC)
commit b838ba8166bf9af170181a59aafa1c5bbc98b915
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Mon Feb 8 18:39:11 2021 +0100
tests/stage-view-tests: Make 'wait_for_paint()' block
Otherwise it's a busy loop, skipping any poll():ing.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1719>
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 8e680eff00..9604a4ab59 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]