Wayland McWayface (a tutorial compositor) on the JVM using jextract

Wayland McWayface (a tutorial compositor) on the JVM using jextract

In order to have bindings of wlroots and wayland within java, I’ve made use of the jextract utility provided by project panama. The important part to remember here is that you need to point to the header locations for wlr, wayland, pixman, and libxkbcommon with the -I flags, point to the location of the files with the -L command, and specify the specific headers you want to depend on like the first arguments to jextract above. h header and depending on this protocol

I have implemented the Wayland McWayface part 1 demo as written here for the most part.

Source: github.com