embedding custom wayland UI stuff on top of gtk3 and gtk4 based applications works! 🎉

the gtk APIs to get down to the wayland surface are a bit awkward, but at least its accessible.
I tried the same with Qt6 and couldn't find a way to have it return the underlying wl_surface pointer. 🤷

I got an LV2 plugin UI with this setup working, but no hosts to try it out against.
Modifying jalv.gtk3 is likely the easiest path... 🤔

WIP test code dump at github.com/falkTX/wayland-audi

Follow

the jalv gtk3 code is quite complex, I think it might be easier for me to add a little support in carla instead.

but really wish getting some wayland related pointers/data out of Qt was a bit easier..
without it I cannot do the fancy "keep plugin UI on top of carla" thing under wayland

@falktx this should be in libsuil, shouldn’t it? wayland in gtk3

@x42 yes yes that is what I meant, the gtk3 code is too tied to x11.

Sign in to participate in the conversation
falkTX Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!