compositor: Handle output destruction deferral 02/28202/1
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 25 Nov 2022 20:18:10 +0000 (22:18 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 25 Nov 2022 20:29:56 +0000 (22:29 +0200)
commit33997a7c96838795ccb586fc7fc43ce093210546
tree1caa29a549c66676b4cea24aef66940429ef28b2
parentadf173ea334eafd233d168815078c4d199b08619
compositor: Handle output destruction deferral

weston_head_detach() already handles the disable of the output if it's
the last one.

See also: https://gitlab.freedesktop.org/wayland/weston/-/issues/697

Bug-AGL: SPEC-4625
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I542b14905b7b6aa220142d0d2dd5cec922c4fc33
src/compositor.c