mach icon indicating copy to clipboard operation
mach copied to clipboard

glfw: wayland/X11 runtime detection support (update linux system SDKs)

Open emidoots opened this issue 3 years ago • 1 comments

GLFW now supports wayland/X11 runtime detection support. In theory we just need to turn this field to true by default and Mach/GLFW should work way better on Wayland systems now:

https://github.com/hexops/mach/pull/346/files#diff-e734a8f4be5ab18b5833ffdbecf5eabe92ae0d167e94977c77d0a3ba5d57e348R43

However, before we can do this we need to update the linux system SDK (this file in specific) to regenerate the wayland-protocol sources matching the way GLFW now does it (since it has changed.) Something like this code: https://sourcegraph.com/github.com/glfw/glfw@d3ede7b6847b66cf30b067214b2b4b126d4c729b/-/blob/src/CMakeLists.txt?L81-93

The problem right now is various -code.h headers are missing.

emidoots avatar Jun 12 '22 00:06 emidoots

Shouldn't we close this issue now?

PiergiorgioZagaria avatar Jun 30 '22 09:06 PiergiorgioZagaria

@PiergiorgioZagaria is right. this can be closed now

alichraghi avatar Sep 02 '22 12:09 alichraghi