client: handle fcntl error in wl_display_connect
See commit message.
To test this MR, run e.g. WAYLAND_SOCKET=999 weston
; the program will fail to connect and print a useful error message, instead of failing at the wl_display_roundtrip() stage.
See commit message.
To test this MR, run e.g. WAYLAND_SOCKET=999 weston
; the program will fail to connect and print a useful error message, instead of failing at the wl_display_roundtrip() stage.