wlroots-hyprland/include/wlr
Alexander Orzechowski e1e911d425 scene_output_layout: Don't destroy output when output layout is destroyed
There were a couple of problems with this:
1. The behavior is unexpected. Typically objects in wlroots won't
also destroy objects that they depend on. For instance, wlr_scene_output
will not destroy the wlr_output when it's destroyed. It shouldn't be any
different for scene layouts.
2. This fixes a crash where because wlr_output_layout and wlr_scene_output
are both addons to wlr_output, we might get into a situation where
wl_list_for_each_safe might malfunction. See [1]

This means that the compositor needs to manually destroy the output
when they destroy the layout, hence ~breaking. Compositors can just
call `wlr_scene_output_destroy()` if they want to destroy both at the
same time.

[1] https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4358#note_2106260

This reverts commit 1a731596c5.

Co-authored-by: Kirill Primak <vyivel@eclair.cafe>
2023-10-07 13:31:20 -04:00
..
backend backend/wayland: add wlr_wl_output_create_from_surface() 2023-08-16 16:39:52 +02:00
interfaces wlr_output: Nuke wlr_output_update_enabled 2023-08-16 18:37:55 +02:00
render render/drm_format_set: use published kernel doc URL 2023-10-05 21:29:25 +00:00
types scene_output_layout: Don't destroy output when output layout is destroyed 2023-10-07 13:31:20 -04:00
util util/box: always treat NULL boxes as empty 2023-05-23 21:08:22 +03:00
xwayland xwayland: fix double free wlr_xwayland_shell_v1 2023-10-06 10:04:11 +02:00
backend.h backend: stop pulling <wlr/backend/session.h> 2022-11-24 21:50:28 +00:00
config.h.in backend/session: make optional 2022-11-25 16:15:29 +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 examples, tinywl: use "default" cursor instead of "left_ptr" 2023-02-01 15:00:42 +01:00
xwayland.h xwayland: split headers 2022-11-02 19:00:23 +01:00