xserver/hw
Olivier Fourdan 7d839b3ed3 xwayland/eglstream: Check eglSwapBuffers()
EGLstream's post_damage() would unconditionally return success
regardless of the actual status of the eglSwapBuffers().

Yet, if eglSwapBuffers() fails, we should not post the corresponding
damage as they wouldn't match the actual content of the buffer.

Use the eglSwapBuffers() return value as the return value for
post_damage() and do not take a refrence on the pixmap if it fails.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
(cherry picked from commit b583395cd3)
2021-06-21 11:16:58 +02:00
..
vfb Don't install Xvfb 2021-02-03 18:22:18 +01:00
xwayland xwayland/eglstream: Check eglSwapBuffers() 2021-06-21 11:16:58 +02:00
meson.build Drop Xephyr / kdrive DDX 2021-02-03 18:13:15 +01:00