wlroots-hyprland/types
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
..
data_device Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
output Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
scene Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
seat types/seat/wlr_seat.c: fix focused_client being null after seat_client recreation 2022-04-16 20:56:30 +02:00
tablet_v2 types/wlr_tablet_tool: remove name ambiguity 2022-03-11 11:49:41 +01:00
xdg_shell xdg-shell: specify version in wlr_xdg_shell_create 2022-05-15 15:44:40 +00:00
meson.build ext-session-lock-v1: new protocol implementation 2022-02-02 15:22:02 +01:00
wlr_buffer.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_compositor.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_cursor.c types/wlr_touch: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_data_control_v1.c Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_drm.c buffer: extract interface to separate header 2022-03-03 15:39:05 +01:00
wlr_drm_lease_v1.c drm-lease-v1: skip device on wlr_drm_backend_get_non_master_fd failure 2022-05-02 15:44:16 +00:00
wlr_export_dmabuf_v1.c export-dmabuf-v1: use wlr_output_event_commit.buffer 2021-12-03 14:56:17 +00:00
wlr_foreign_toplevel_management_v1.c foreign-toplevel: send enter if needed on output bind 2022-01-17 19:11:08 +01:00
wlr_fullscreen_shell_v1.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_gamma_control_v1.c gamma-control-v1: schedule frame when resetting gamma LUT 2021-01-10 18:40:08 +01:00
wlr_idle.c Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_idle_inhibit_v1.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_input_device.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_input_inhibitor.c Make implementation function lists static const 2021-02-05 10:04:20 +01:00
wlr_input_method_v2.c types/wlr_keyboard: remove destroy event 2022-03-11 20:02:21 +00:00
wlr_keyboard.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_keyboard_group.c types/wlr_keyboard: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_keyboard_shortcuts_inhibit_v1.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_layer_shell_v1.c layer-shell: Make wlr_layer_surface_v1_from_resource public 2022-03-23 09:19:43 +00:00
wlr_linux_dmabuf_v1.c buffer: extract interface to separate header 2022-03-03 15:39:05 +01:00
wlr_matrix.c move wlr_box from /types to /util 2021-07-06 21:43:17 +02:00
wlr_output_damage.c wlr_output_damage: Don't schedule a new frame if damage region does not intersect with output 2022-03-08 14:05:36 +00:00
wlr_output_layout.c wlr_output_layout_contains_point: handle outputs that aren't in the layout 2022-03-11 06:49:49 +00:00
wlr_output_management_v1.c output-management: use same types as wlr_output 2021-01-10 16:28:19 +01:00
wlr_output_power_management_v1.c output-power-management-v1: listen to output commit 2020-08-27 13:54:19 -06:00
wlr_pointer.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_pointer_constraints_v1.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_pointer_gestures_v1.c types/wlr_pointer_gestures_v1.c: get client from seat client instead of resource 2022-04-16 20:53:52 +02:00
wlr_presentation_time.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_primary_selection.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_primary_selection_v1.c primary selection: destroy devices before manager 2021-01-05 13:53:58 +01:00
wlr_region.c region: stabilize interface 2021-07-05 09:25:25 -04:00
wlr_relative_pointer_v1.c Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_screencopy_v1.c screencopy-v1: use wlr_output_event_commit.buffer 2021-12-03 14:56:17 +00:00
wlr_server_decoration.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_session_lock_v1.c ext-session-lock-v1: new protocol implementation 2022-02-02 15:22:02 +01:00
wlr_subcompositor.c subsurface: unlock cached state on commit if desynced 2022-01-25 22:41:30 +03:00
wlr_switch.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_tablet_pad.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_tablet_tool.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_text_input_v3.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_touch.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
wlr_viewporter.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_virtual_keyboard_v1.c types/wlr_keyboard: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_virtual_pointer_v1.c types/wlr_pointer: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_xcursor_manager.c Make wlr_xcursor_manager_load() return a bool 2020-05-18 16:48:44 +02:00
wlr_xdg_activation_v1.c xdg-activation: Deduplicate token creation code 2022-03-26 17:28:51 +01:00
wlr_xdg_decoration_v1.c xdg-toplevel: fix functions' main argument type 2022-02-02 21:06:11 +03:00
wlr_xdg_foreign_registry.c util/uuid: replace with util/token, remove libuuid 2021-04-11 19:09:36 +02:00
wlr_xdg_foreign_v1.c xdg-foreign-v1: treat unmapped parents as NULL 2022-04-13 16:48:15 +00:00
wlr_xdg_foreign_v2.c xdg-foreign-v2: treat unmapped parents as NULL 2022-04-13 16:48:15 +00:00
wlr_xdg_output_v1.c xdg-output: remove dead code 2022-01-28 17:38:39 +01:00