[PATCH weston 1/1] desktop-shell: detect stale shell surface outputs

Pekka Paalanen ppaalanen at gmail.com
Mon May 21 14:05:31 UTC 2018


On Wed,  2 May 2018 11:10:32 +0200
Fabien Lahoudere <fabien.lahoudere at collabora.com> wrote:

> From: Semi Malinen <semi.malinen at ge.com>
> 
> When displays are hot (un)plugged, it may happen that
> a shell surface is left with a stale pointer to an output
> that has already been freed. Add an output destroy listener
> to catch such situations and set the output pointer to NULL.
> 
> Signed-off-by: Semi Malinen <semi.malinen at ge.com>
> Signed-off-by: Fabien Lahoudere <fabien.lahoudere at collabora.com>
> ---
>  desktop-shell/shell.c | 29 +++++++++++++++++++++++++++--
>  1 file changed, 27 insertions(+), 2 deletions(-)

Pushed with my R-b:
   e7a52fbb..99f8c085  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180521/c4f11812/attachment-0001.sig>


More information about the wayland-devel mailing list