compositor-wayland: destroy the appropriate output instead of exiting when receiving...
authorSergi Granell <xerpi.g.12@gmail.com>
Wed, 27 Sep 2017 14:06:37 +0000 (16:06 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 13 Oct 2017 11:12:38 +0000 (14:12 +0300)
commitb4e239f29fb17f298c78a7d99b47ef6919edd326
tree7755fdda83329c53803423f49a5abedeadc6aadb
parentcafc652cf647adce97522478410f89e8c30e854b
compositor-wayland: destroy the appropriate output instead of exiting when receiving an xdg_toplevel::close event

v2: Fix use after free spotted by Daniel Stone

Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
libweston/compositor-wayland.c