Skip to content
Commit b8a16d4a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

xwayland: Properly handle xcb_connect_to_fd() failures

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.
parent bfcf312e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment