aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-08-31 14:38:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-12 08:39:43 +0000
commit8ea6c9351512b833c048db8bfedd4f4075942815 (patch)
treed465ec92743ca3dcbe839061e6d4bfc1f4fc46e5
parentmeson-pgo: initial support for full PGO through headless Sway (diff)
meson-pgo: ‘auto’ now prefers full-headless-sway
-rwxr-xr-xmeson-pgo.sh6
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