Commits on Source (2)
-
Alan Coopersmith authored
Changes check for trying modesetting driver from if defined(__linux__) to use meson check for if we built the driver for this platform. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Olivier Fourdan authored
X11 and Wayland requests are unordered, causing a race in the X11 window and wl_surface association. To mitigate that race, delay the wl_surface destruction by 1 second, so that the compositor has time to establish the association before the wl_surface is destroyed: to see both the wl_surface created and the WL_SURFACE_ID X11 property set. This is only a mitigation though, a more robust solution requires a future dedicated Wayland protocol. v2: Clean up pending wl_surface destroy on exit as well. Closes: #1157 Signed-off-by:
Olivier Fourdan <ofourdan@redhat.com> Suggested-by:
Pekka Paalanen <pekka.paalanen@collabora.com> Reviewed-by:
Michel Dänzer <mdaenzer@redhat.com> Tested-by:
Joshua Ashton <joshua@froggi.es> Tested-by:
Sterophonick <sterophonick@gmail.com> See-also: wayland/wayland-protocols!163
Showing
- hw/xfree86/common/xf86AutoConfig.c 1 addition, 1 deletionhw/xfree86/common/xf86AutoConfig.c
- hw/xwayland/xwayland-screen.c 6 additions, 0 deletionshw/xwayland/xwayland-screen.c
- hw/xwayland/xwayland-screen.h 1 addition, 0 deletionshw/xwayland/xwayland-screen.h
- hw/xwayland/xwayland-window.c 55 additions, 1 deletionhw/xwayland/xwayland-window.c
- hw/xwayland/xwayland-window.h 8 additions, 0 deletionshw/xwayland/xwayland-window.h
- include/meson.build 1 addition, 0 deletionsinclude/meson.build
- include/xorg-config.h.meson.in 3 additions, 0 deletionsinclude/xorg-config.h.meson.in