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

Rework Linux/BSD mobile simulator to use GLFW #5404

Open
2 tasks done
Jacalz opened this issue Jan 13, 2025 · 0 comments
Open
2 tasks done

Rework Linux/BSD mobile simulator to use GLFW #5404

Jacalz opened this issue Jan 13, 2025 · 0 comments
Labels
enhancement New feature or request mobile-simulator Issues relating to the mobile siumulator. OS:FreeBSD Tickets affecting only FreeBSD OS:Linux Tickets affecting only Linux

Comments

@Jacalz
Copy link
Member

Jacalz commented Jan 13, 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?

The mobile simulator on Linux and BSD currently has a custom x11 implementation when running on Linux and BSD, see https://github.com/fyne-io/fyne/blob/master/internal/driver/mobile/app/x11.go and https://github.com/fyne-io/fyne/blob/master/internal/driver/mobile/app/x11.c. This is complicated to maintain (#591 for example) and does not support Wayland. It seems to me like it would be better to let glfw abstract all of that for us.

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

Yes

Describe the solution you'd like to see.

Use GLFW for mobile simulator on Linux and BSD plus add Wayland support. It should be a lot easier to implement #591 after this.

@Jacalz Jacalz added enhancement New feature or request OS:Linux Tickets affecting only Linux OS:FreeBSD Tickets affecting only FreeBSD mobile-simulator Issues relating to the mobile siumulator. labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mobile-simulator Issues relating to the mobile siumulator. OS:FreeBSD Tickets affecting only FreeBSD OS:Linux Tickets affecting only Linux
Projects
None yet
Development

No branches or pull requests

1 participant