wlroots-hyprland/include/wlr/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
..
wlr_buffer.h buffer: extract interface to separate header 2022-03-03 15:39:05 +01:00
wlr_compositor.h surface: improve role precommit hook 2022-01-13 15:15:54 +03:00
wlr_cursor.h types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
wlr_data_control_v1.h Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_data_device.h wlr_drag: remove unused point_destroy field 2020-10-18 15:17:28 +02:00
wlr_drm.h drm: add support for DMA-BUFs 2021-07-05 11:13:41 -04:00
wlr_drm_lease_v1.h drm-lease-v1: listen to lease destroy event 2021-11-19 16:06:07 +00:00
wlr_export_dmabuf_v1.h export-dmabuf: export DMA-BUF on output commit 2020-11-05 09:43:42 +01:00
wlr_foreign_toplevel_management_v1.h foreign-toplevel: send enter if needed on output bind 2022-01-17 19:11:08 +01:00
wlr_fullscreen_shell_v1.h Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_gamma_control_v1.h gamma-control-v1: apply gamma LUT when output gets enabled 2020-11-03 17:47:04 +01:00
wlr_idle.h Fix spelling errors 2021-10-02 10:22:13 +02:00
wlr_idle_inhibit_v1.h Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_input_device.h types/wlr_input_device: move width_mm and height_mm fields to wlr_tablet and wlr_touch 2022-03-17 13:44:19 -04:00
wlr_input_inhibitor.h Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_input_method_v2.h Implement input_method_v2 popups 2021-09-22 09:42:14 +02:00
wlr_keyboard.h types/wlr_keyboard: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_keyboard_group.h types/wlr_keyboard: add base wlr_input_device 2022-02-21 17:11:32 +00:00
wlr_keyboard_shortcuts_inhibit_v1.h keyboard-shortcuts-inhibit: Implement the protocol 2020-02-20 21:40:34 +01:00
wlr_layer_shell_v1.h layer-shell: Make wlr_layer_surface_v1_from_resource public 2022-03-23 09:19:43 +00:00
wlr_linux_dmabuf_v1.h linux-dmabuf-v1: add per-surface feedback 2021-12-07 15:18:19 +01:00
wlr_matrix.h move wlr_box from /types to /util 2021-07-06 21:43:17 +02:00
wlr_output.h types/wlr_output: Handle subpixel hints through output commits 2022-03-16 18:41:49 +00:00
wlr_output_damage.h output-damage: stop using enum wlr_output_state_buffer_type 2021-07-29 09:48:33 -04:00
wlr_output_layout.h output-layout: remove useless types/fields 2022-01-31 10:32:47 +00:00
wlr_output_management_v1.h output-management: use same types as wlr_output 2021-01-10 16:28:19 +01:00
wlr_output_power_management_v1.h output-power-management-v1: listen to output commit 2020-08-27 13:54:19 -06:00
wlr_pointer.h types/wlr_pointer: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_pointer_constraints_v1.h move wlr_box from /types to /util 2021-07-06 21:43:17 +02:00
wlr_pointer_gestures_v1.h surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_presentation_time.h presentation-time: remove unused field 2021-10-22 06:44:39 -06:00
wlr_primary_selection.h Remove all wayland-server.h includes 2019-07-27 15:49:32 -04:00
wlr_primary_selection_v1.h Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_region.h region: drop leftover reference to the mailing list 2021-07-05 10:32:50 -04:00
wlr_relative_pointer_v1.h Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_scene.h Revert "scene: try to import buffers as textures before rendering" 2022-03-16 16:42:45 +00:00
wlr_screencopy_v1.h screencopy: Handle shm copy in commit event handler 2021-09-10 10:37:18 +02:00
wlr_seat.h seat: take wlr_keyboard in wlr_seat_set_keyboard() 2022-03-23 13:08:41 +00:00
wlr_server_decoration.h Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_session_lock_v1.h ext-session-lock-v1: new protocol implementation 2022-02-02 15:22:02 +01:00
wlr_subcompositor.h surface: move decl to wlr_{sub,}compositor.h 2022-01-13 10:06:41 +00:00
wlr_surface.h surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_switch.h types/wlr_switch: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_tablet_pad.h types/wlr_tablet_pad: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_tablet_tool.h types/wlr_tablet_tool: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_tablet_v2.h types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
wlr_text_input_v3.h surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_touch.h types/wlr_touch: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_viewporter.h viewporter: hide wlr_viewport 2021-09-06 19:19:45 +02:00
wlr_virtual_keyboard_v1.h types/wlr_virtual_keyboard_v1: remove destroy event 2022-03-11 20:02:21 +00:00
wlr_virtual_pointer_v1.h types/wlr_pointer: uniformize events name 2022-03-17 18:16:14 +00:00
wlr_xcursor_manager.h Make wlr_xcursor_manager_load() return a bool 2020-05-18 16:48:44 +02:00
wlr_xdg_activation_v1.h xdg-activation: Allow to submit tokens 2021-12-14 12:01:46 +01:00
wlr_xdg_decoration_v1.h xdg-decoration: refactor configure/state flow 2021-10-07 07:27:51 -06:00
wlr_xdg_foreign_registry.h types: add wlr_xdg_foreign_registry 2021-01-05 20:32:56 +01:00
wlr_xdg_foreign_v1.h xdg-foreign-v1: treat unmapped parents as NULL 2022-04-13 16:48:15 +00:00
wlr_xdg_foreign_v2.h xdg-foreign-v2: treat unmapped parents as NULL 2022-04-13 16:48:15 +00:00
wlr_xdg_output_v1.h xdg-output-v1: use wlr_output.description 2019-12-29 12:35:22 -05:00
wlr_xdg_shell.h xdg-shell: specify version in wlr_xdg_shell_create 2022-05-15 15:44:40 +00:00