weston/compositor
Marius Vlad bccc0273b2 screen-share: Fix invalid seat release
This fixes the situation where screen share seat is not released upon
compositor shut down.

This will have a cascading side-effecting of resulting in an invalid libinput
device reference assert, like the following:

../src/libinput.c:2169: libinput_device_unref: Assertion
`device->refcount > 0' failed.

That happens because at compositor shutdown, the seat created by the
screen share module will *still* be acccesible in compositor instance
seat list, effectively resulting in an invalid unref for a non-existent
libinput device.

This patch rectifies that in such a way that upon compositor shut down
we release the seat in the screen share module which would implicitly
remove it from the compositor instance seat list.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2023-01-25 18:07:54 +00:00
..
cms-colord.c Use weston_compositor_add_destroy_listener_once() in plugins 2019-11-21 16:32:55 +00:00
cms-helper.c Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
cms-helper.h Rename compositor.h to libweston/libweston.h 2019-04-18 12:31:46 +03:00
cms-static.c Use weston_compositor_add_destroy_listener_once() in plugins 2019-11-21 16:32:55 +00:00
config-helpers.c frontend: Add common --renderer=foo argument 2023-01-10 10:59:04 +02:00
executable.c tests: add mechanism to change Weston's behavior when running certain tests 2020-10-27 11:21:55 +00:00
main.c rdp: Add preliminary rdp multihead support 2023-01-10 12:12:49 +00:00
meson.build frontend: Use enums for backend type, not strings 2023-01-10 10:59:04 +02:00
screen-share.c screen-share: Fix invalid seat release 2023-01-25 18:07:54 +00:00
systemd-notify.c Use weston_compositor_add_destroy_listener_once() in plugins 2019-11-21 16:32:55 +00:00
text-backend.c compositor/text-backend: Avoid a potential UAF 2022-07-27 14:15:11 +03:00
weston-private.h frontend: Add common --renderer=foo argument 2023-01-10 10:59:04 +02:00
weston-screenshooter.c compositor: remove weston-screenshooter protocol 2022-11-29 11:12:32 +02:00
weston.desktop Remove dbus-launch from weston.desktop 2017-01-18 12:21:57 +00:00
weston.h compositor: Use weston_load_module 2022-09-23 11:47:40 +00:00
xwayland.c compositor/shared: Suppress write(2) warnings 2022-09-23 11:32:19 +00:00