[mutter/gnome-40] tests/stage-view: Disable animations
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-40] tests/stage-view: Disable animations
- Date: Wed, 17 Nov 2021 08:42:45 +0000 (UTC)
commit 347c3a164fbd6904800570dae7506c279a5cc96f
Author: Jonas Ådahl <jadahl gmail com>
Date: Tue Sep 28 10:56:11 2021 +0200
tests/stage-view: Disable animations
Animations may interfere with test cases, e.g. by triggering relayouts,
repaints, when not expected. Disable them, so that more precise test
cases can be added.
src/tests/stage-view-tests.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/tests/stage-view-tests.c b/src/tests/stage-view-tests.c
index 4131abfb8c..feae190f6f 100644
--- a/src/tests/stage-view-tests.c
+++ b/src/tests/stage-view-tests.c
@@ -1194,6 +1194,7 @@ main (int argc, char *argv[])
meta_override_compositor_configuration (META_COMPOSITOR_TYPE_WAYLAND,
META_TYPE_BACKEND_TEST,
NULL);
+ g_setenv ("MUTTER_DEBUG_DISABLE_ANIMATIONS", "1", TRUE);
meta_init ();
meta_register_with_session ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]