Skip to content

Added UseWaylandWithFallback - #21734

Merged
MrJul merged 2 commits into
mainfrom
feature/wayland-auto-fallback
Jul 10, 2026
Merged

Added UseWaylandWithFallback#21734
MrJul merged 2 commits into
mainfrom
feature/wayland-auto-fallback

Conversation

@kekekeks

@kekekeks kekekeks commented Jul 9, 2026

Copy link
Copy Markdown
Member

Adds .UseWaylandWithFallback() method to AppBuilder, which is required to be called after UsePlatformDetect/UseX11.

The method tries to initialize wayland backend and forwards to the previously registered backend if it fails.

Depends on #21735

@kekekeks
kekekeks force-pushed the feature/wayland-auto-fallback branch from 0424e9e to 8492c5f Compare July 9, 2026 05:15
@kekekeks kekekeks changed the title Feature/wayland auto fallback Added UseWaylandWithFallback Jul 9, 2026
@avaloniaui-bot

Copy link
Copy Markdown

You can test this PR using the following package version. 12.1.999-cibuild0067344-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul added area-wayland backport-candidate-12.1.x Consider this PR for backporting to 12.1 branch labels Jul 9, 2026

@MrJul MrJul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MrJul
MrJul added this pull request to the merge queue Jul 10, 2026
@MrJul
MrJul removed this pull request from the merge queue due to a manual request Jul 10, 2026
@avaloniaui-bot

Copy link
Copy Markdown

You can test this PR using the following package version. 12.2.999-cibuild0067396-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul
MrJul added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit 59355cb Jul 10, 2026
10 checks passed
@MrJul
MrJul deleted the feature/wayland-auto-fallback branch July 10, 2026 11:09
MrJul added a commit that referenced this pull request Jul 29, 2026
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
@MrJul MrJul added backported-12.1.x and removed backport-candidate-12.1.x Consider this PR for backporting to 12.1 branch labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants