The old info->fd_from_pixmap() driver hook, which is
preferentially used in dri3_fd_from_pixmap(), can return
error codes other than -1, e.g., -EINVAL (-22) on nouveau-ddx.
Not handling the error causes a broken/corrupted X-Connection
resulting from a failed request.
This fixes failure of sddm-greeter to start up under nouveau-ddx
with DRI3 enabled and DRI3 protocol version properly clamped
to 1.0 by the server (see followup patch).
Fixes:
|
||
---|---|---|
.. | ||
dri3_priv.h | ||
dri3_request.c | ||
dri3_screen.c | ||
dri3.c | ||
dri3.h | ||
Makefile.am | ||
meson.build |