diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-31 14:38:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-09-12 08:39:43 +0000 |
| commit | 8ea6c9351512b833c048db8bfedd4f4075942815 (patch) | |
| tree | d465ec92743ca3dcbe839061e6d4bfc1f4fc46e5 | |
| parent | meson-pgo: initial support for full PGO through headless Sway (diff) | |
meson-pgo: ‘auto’ now prefers full-headless-sway
| -rwxr-xr-x | meson-pgo.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meson-pgo.sh b/meson-pgo.sh index dc0157f0..2057c2a6 100755 --- a/meson-pgo.sh +++ b/meson-pgo.sh @@ -43,10 +43,10 @@ case $(${CC-cc} --version) in esac if [ ${mode} = auto ]; then - if [ -n "${WAYLAND_DISPLAY+x}" ]; then - mode=full - elif command -v sway > /dev/null; then + if command -v sway > /dev/null; then mode=full-headless-sway + elif [ -n "${WAYLAND_DISPLAY+x}" ]; then + mode=full else mode=partial fi |
