Skip to content

Conversation

@Zatzou
Copy link

@Zatzou Zatzou commented May 23, 2025

2nd attempt after #1364 now on develop

This PR adds an LowLevelWindow and InputHandler implementations for wayland.

I have tested this code and it works on both my main system with nvidia graphics and on my other system with amd graphics. There are minor issues with nvidia but those come down to driver issues.

This PR still needs a few things so it isnt ready to merge yet. The things still required are:

  • Dynamically loading wayland libraries so people on X11 dont need them installed
  • Runtime selection between X11 and Wayland
  • Something else will probably still turn up

Zatzou added 11 commits May 24, 2025 02:06
It might be better to invoke `wayland-scanner` from cmake to generate these at build time than hardcode these but idk
This still needs some kind of a dynamic selection between x11 and wayland at runtime depending on what is available on the users system
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

Successfully merging this pull request may close these issues.

1 participant