Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support falling back to X11 from Wayland #5471

Open
2 tasks done
koonix opened this issue Jan 27, 2025 · 1 comment
Open
2 tasks done

Support falling back to X11 from Wayland #5471

koonix opened this issue Jan 27, 2025 · 1 comment
Labels
upstream A bug that likely comes from upstream Wayland Issues related to Wayland support

Comments

@koonix
Copy link

koonix commented Jan 27, 2025

Checklist

  • I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

Adding Wayland support (-tags wayland) removes X11 support.

Is it possible to construct a solution with the existing API?

No response

Describe the solution you'd like to see.

Fyne apps built with Wayland support should try Wayland but fall back to X11 if Wayland is unavailable, so that a single binary is sufficient for one platform, regardless of the available display server.

@Jacalz
Copy link
Member

Jacalz commented Jan 27, 2025

Glfw v3.3 only has support for building against one display protocol at a time, not both, so we can't really do anything about this until we update to v3.4. The plan is to build for both X11 and Wayland by default once go-gl/glfw#400 is done and likely have -tags wayland be Wayland-only with an x11 tag for the opposite.

@Jacalz Jacalz added the Wayland Issues related to Wayland support label Jan 27, 2025
@Jacalz Jacalz changed the title Fall back to X11 when using -tags wayland Support falling back to X11 from Wayland Jan 27, 2025
@Jacalz Jacalz added the upstream A bug that likely comes from upstream label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream A bug that likely comes from upstream Wayland Issues related to Wayland support
Projects
None yet
Development

No branches or pull requests

2 participants