When an output is being destroyed reassign the output of the views that were in it, to be sure not to keep a dangling pointer which could be used later on by calling weston_surface_assign_output() on the view's surface. Also make sure we send wl_surface.leave events to the surfaces that were in that output. Reviewed-by: Jonas Ådahl <jadahl@gmail.com>dev
parent
f53beb8fb9
commit
2f2a70cc85
Loading…
Reference in new issue