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

Wayland improvements #74

Open
ninja- opened this issue Oct 8, 2024 · 1 comment
Open

Wayland improvements #74

ninja- opened this issue Oct 8, 2024 · 1 comment

Comments

@ninja-
Copy link
Contributor

ninja- commented Oct 8, 2024

FYI, a couple things that could be worked upon to complete Wayland experience:

  • Implement xdg_toplevel_icon_manager_v1 to set the Minecraft icon instead of Wayland icon. For now there's no compositors supporting it, earliest will be KDE 6.3 so that will take a while.
  • Allow overriding xdg app id via env in GLFW; this could be used for launcher-less GLFW games or in case of no xdg_toplevel_icon_manager_v1 linking the game window to the launcher as it's better than nothing
  • F11 always moves the window to primary display instead of the display where the window was; this works correctly on Xwayland...
  • Cursor theme doesn't match system and it's sizing is invalid because scale is not multiplied by fractional-scale-v1; libdecor has code that pulls these from xdg-portal but idk if glfw even uses this code or has it's own
  • hitting escape doesn't center the cursor; this can be done using https://wayland.app/protocols/pointer-constraints-unstable-v1#zwp_confined_pointer_v1 I think; it's not very popular but for example KiCad was playing with this
@ZekeZDev
Copy link

Hi,

Correct me if I am wrong, this seems like something related directly to the launcher and not the flatpak. For easier tracking it would be appreciated if you could copy the issue to our main repo https://github.com/PrismLauncher/PrismLauncher/issues, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants