commit | 2f2a70cc8533d6e9f7fca9f6a9d598411c23e700 | [log] [tgz] |
---|---|---|
author | Giulio Camuffo <giuliocamuffo@gmail.com> | Sun Jul 12 10:52:32 2015 +0300 |
committer | Daniel Stone <daniels@collabora.com> | Mon Jul 13 11:16:55 2015 +0100 |
tree | 01e91349bf669964170f542558887a596c60f8fe | |
parent | f53beb8fb94e5a096bc9e2872b2995a46598dac6 [diff] |
compositor: make sure to reset views' pointers to destroyed output 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>