Skip to content

xwayland: Properly handle xcb_connect_to_fd() failures

Vlad Zahorodnii requested to merge work/xwayland-connect-to-fd into master

xcb_connect_to_fd() will never return a NULL pointer, even if an error has occurred.

Right after creating an xcb connection, xcb_connection_has_error() needs to be called in order to determine if the connection has an error.

Merge request reports