wlroots-hyprland/include/wlr
Simon Ser 8fe3aa29da xdg-shell: specify version in wlr_xdg_shell_create
With protocol additions such as [1], compositors currently have no
way to opt out of the version upgrade. The protocol upgrade will
always be backwards-compatible but may require new compositor
features.

The status quo doesn't make it possible to ship a protocol addition
without breaking the wlroots API. This will be an issue for API
stabilization [2].

To address this, let compositors provide a maximum version in the
function creating the global. We need to support all previous versions
of the interface anyways because of older clients.

This mechanism works the same way as Wayland clients passing a version
in wl_global.bind.

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3514
[2]: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1008

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3397
2022-05-15 15:44:40 +00:00
..
backend types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
interfaces types/wlr_keyboard: uniformize events name 2022-03-17 18:16:14 +00:00
render render: allow texture creation while rendering 2022-02-28 13:06:11 +01:00
types xdg-shell: specify version in wlr_xdg_shell_create 2022-05-15 15:44:40 +00:00
util Fix spelling errors 2021-10-02 10:22:13 +02:00
backend.h backend: remove wlr_backend_get_renderer 2021-11-18 09:37:57 -05:00
config.h.in render/vulkan: add Vulkan renderer 2021-10-18 11:51:13 +02:00
meson.build build: use dictionnary for features instead of configuration_data 2021-02-15 16:32:33 +01:00
version.h.in Drop WLR_VERSION_API_* 2021-06-29 12:22:55 +02:00
xcursor.h xcursor: improve documentation 2021-07-05 11:00:15 -04:00
xwayland.h xwayland: add wlr_xwayland_server_options.terminate_delay 2022-05-07 19:25:44 +00:00