weston/libweston-desktop
Quentin Glidic 8e8fa8e885 libweston-desktop/xwayland: Make sure racy surfaces are properly mapped
This fixes a race between Xwayland committing the surface content via
the wl_surface, and the XWM setting the role of the surface.
We now keep track of the (first) content commit on the surface and
forward it to the shell when we finally get the role.
There is no need to track later changes, as the only way for Xwayland to
unmap a surface is to destroy it.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Daniel Stone <daniels@collabora.com>
2017-12-11 09:34:26 +00:00
..
client.c
internal.h
libweston-desktop-uninstalled.pc.in
libweston-desktop.c
libweston-desktop.h libweston-desktop: add signal for title/app-id changes 2017-12-08 15:16:08 +01:00
libweston-desktop.pc.in
seat.c
surface.c libweston-desktop: add signal for title/app-id changes 2017-12-08 15:16:08 +01:00
wl-shell.c
xdg-shell-v5.c
xdg-shell-v6.c
xwayland.c libweston-desktop/xwayland: Make sure racy surfaces are properly mapped 2017-12-11 09:34:26 +00:00