wlroots-hyprland/include
Simon Ser 5c382f6344 drm-lease-v1: fix error codepath
We were crashing in the error codepath [1] when
wlr_drm_create_lease() fails.

To fix this, delay the creation of the wlr_drm_lease_v1 until the
request is granted. Previously we were allocating that struct early
without populating the drm_lease field. However that means we ended
up with a half-constructed struct in the error codepath which is
annoying to handle.

[1]: https://github.com/swaywm/sway/issues/7204#issuecomment-1269797356
2022-10-07 19:49:28 +00:00
..
backend backend/drm: nuke wlr_drm_connector.desired_enabled 2022-10-07 16:28:36 +00:00
interfaces types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
render render/vulkan: use addon for wlr_vk_texture 2022-09-30 14:02:51 +00:00
types output: fix back buffer checks 2022-09-21 16:18:16 +02:00
util util/set: overhaul 2022-08-29 13:48:42 +00:00
wlr drm-lease-v1: fix error codepath 2022-10-07 19:49:28 +00:00
xcursor xcursor: garbage collect XcursorLibraryLoadImages 2022-01-31 14:10:08 +00:00
xwayland xwayland: use dict to collect supported features 2022-05-23 09:49:58 +02:00
meson.build render/vulkan: add Vulkan renderer 2021-10-18 11:51:13 +02:00