From cfaf6601e91c00892a30366695cdbfedb5be2c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 29 Nov 2022 16:48:59 +0100 Subject: [PATCH] perf-tool: Force animations when running perf tests This ensures we, unless there is a remote desktop connection explicitly asking to disable animations, we'll run with animations despite e.g. hardware acceleration is missing. Part-of: --- src/gnome-shell-perf-tool.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gnome-shell-perf-tool.in b/src/gnome-shell-perf-tool.in index 4a3e62e52..173aa98e4 100755 --- a/src/gnome-shell-perf-tool.in +++ b/src/gnome-shell-perf-tool.in @@ -45,6 +45,8 @@ def start_shell(wrap=None, perf_output=None): args += wrap.split(' ') args.append(os.path.join(self_dir, 'gnome-shell')) + args.append('--force-animations') + if options.replace: args.append('--replace')