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 Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
internal.h libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop-uninstalled.pc.in buildsystem: add missing pkg-config stub for libweston uninstalled 2017-11-10 12:50:41 -06:00
libweston-desktop.c libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.h libweston-desktop: add signal for title/app-id changes 2017-12-08 15:16:08 +01:00
libweston-desktop.pc.in libweston-desktop: Fix libweston-desktop.pc 2016-08-15 11:46:46 +03:00
seat.c libweston: Use struct timespec for touch motion events 2017-11-27 11:42:07 +02:00
surface.c libweston-desktop: add signal for title/app-id changes 2017-12-08 15:16:08 +01:00
wl-shell.c libweston: introduce weston_output_from_resource() 2017-07-25 16:08:48 +03:00
xdg-shell-v5.c libweston-desktop/xdg-shell-v5: initialize configure list 2017-08-05 16:36:27 +02:00
xdg-shell-v6.c libweston-desktop/xdg-shell-v6: Actually send same-as-current configure if needed 2017-10-18 11:04:30 +02:00
xwayland.c libweston-desktop/xwayland: Make sure racy surfaces are properly mapped 2017-12-11 09:34:26 +00:00