wayland: Take ownership of fd in wl_display_connect_to_fd()
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 15 Oct 2012 21:50:36 +0000 (17:50 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 15 Oct 2012 21:50:36 +0000 (17:50 -0400)
commitedae4ffa3741378d0f0b0122b5a8f8743034903b
treebb2dcf1b18ae018646715d3313739c3f73a2ee32
parent780b9806709d7c7a711d609f35e7e2554745c301
wayland: Take ownership of fd in wl_display_connect_to_fd()

This means we're free to close it when we want, which we'll use to wake
up the main thread if we hit an error in a different thread.
src/wayland-client.c