wlroots-hyprland/include/wlr
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 Reformat doc comments 2022-05-25 14:22:58 +00:00
interfaces output: fail commits if adaptive sync cannot be enabled 2022-08-30 17:53:50 +00:00
render render: drop wlr_renderer_read_pixels() flags 2022-10-04 09:15:19 +02:00
types drm-lease-v1: fix error codepath 2022-10-07 19:49:28 +00:00
util util/box: Introduce wlr_fbox_equal 2022-08-15 06:14:59 -04:00
backend.h Reformat doc comments 2022-05-25 14:22:58 +00:00
config.h.in build: make GBM optional 2022-05-30 13:30:08 +00:00
meson.build build: bump version to 0.16.0-dev 2022-05-24 15:04:14 +02: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 Document NULL return value of foo_from_wlr_surface() functions 2022-07-02 13:28:02 +02:00