novelrt / NovelRT

A cross-platform 2D game engine accompanied by a strong toolset for visual novels.
MIT License
183 stars 43 forks source link

Support Wayland with fallback to X11 #526

Open FiniteReality opened 1 year ago

FiniteReality commented 1 year ago

What is the current behaviour? Native wayland support is broken due to a bug in GLFW (see #525)

What is the expected behaviour/change? Wayland should be preferred if available, falling back to X11 if not supported.

What is the motivation / use case for changing the behavior? Wayland compositors typically has better support for scaling and lower overhead compared to X11

Describe alternatives you've considered: Most Wayland systems already have an X11 fallback via XWayland, so technically we don't need to do anything.

Are there any potential roadblocks or challenges facing this change? See #525

Are there any downsides to implementing this change? No.

Additional context Wayland is the future, or something.

RubyNova commented 1 year ago

Will be approved once GLFW 3.3.9 is in stable release and we can update our dependency for it.