diff --git a/CHANGELOG.md b/CHANGELOG.md index b9a6669..6d76064 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,10 +23,16 @@ ### Deprecated ### Removed ### Fixed + +* `yambar --backend=wayland` always erroring out with _”yambar was + compiled without the Wayland backend”_. + + ### Security ### Contributors * [paemuri](https://codeberg.org/paemuri) +* [ericonr](https://codeberg.org/ericonr) ## 1.6.2 diff --git a/bar/bar.c b/bar/bar.c index 4829162..c7b1ea5 100644 --- a/bar/bar.c +++ b/bar/bar.c @@ -399,7 +399,7 @@ bar_new(const struct bar_config *config) break; case BAR_BACKEND_WAYLAND: -#if defined(BAR_WAYLAND) +#if defined(ENABLE_WAYLAND) backend_data = bar_backend_wayland_new(); backend_iface = &wayland_backend_iface; #else