mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-04-17 15:00:47 +02:00
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> |
||
|---|---|---|
| .. | ||
| cms-colord.c | ||
| cms-helper.c | ||
| cms-helper.h | ||
| cms-static.c | ||
| config-helpers.c | ||
| executable.c | ||
| main.c | ||
| meson.build | ||
| screen-share.c | ||
| systemd-notify.c | ||
| text-backend.c | ||
| weston-private.h | ||
| weston-screenshooter.c | ||
| weston.desktop | ||
| weston.h | ||
| xwayland.c | ||