3 ms·
I found https://wayland.app/protocols/ https://wayland.app/protocols/ very helpful so far. That and studying smithay code.
by OtomotO 7mo ago
I found https://wayland.app/protocols/ https://wayland.app/protocols/ very helpful so far.
That and studying smithay code.
- Pay08 7mo agoThat was the documentation with the incorrect nullability I was referencing.
- mahkoh 7mo agoI doubt there is anything incorrect there. See the note here: https://wayland.freedesktop.org/docs/book/Message_XML.html#allow-nulltrue--false https://wayland.freedesktop.org/docs/book/Message_XML.html#a...
- kelnos 7mo agowayland.app just HTML-renders the contents of the specification XML files. If a compositor or client is not interpreting nullability the same way wayland.app says it should be interpreted, then that's a bug in the compositor or client.
- Pay08 7mo agoWhat if no compositor is interpreting it correctly? We tested on Weston, GNOME (this was shortly after it went Wayland-only) and Plasma and the same problems persisted on all 3. In all fairness, the exact functions with wrong nullability might have been different, I don't remember, but the nullability issue itself was persistent on all 3.
- mroche 7mo agoWhat's needed beyond API docs is a review, refresh, and possible merging of the two Wayland Books by active Wayland contributors. https://wayland.freedesktop.org/docs/book/ https://wayland.freedesktop.org/docs/book/ https://wayland-book.com/ https://wayland-book.com/