Re: [RFC wayland 11/12] wayland-client: duplicate fd on connect

2012-10-12 Thread David Herrmann
On Thu, Oct 11, 2012 at 11:37 PM, David Herrmann wrote: > We need our own copy of the file-descriptor in each wl_display so we can > close() it on error to wake up the main-thread. > > Signed-off-by: David Herrmann > --- Pekka and I discussed this on IRC and we came to the conclusion that it is

[RFC wayland 11/12] wayland-client: duplicate fd on connect

2012-10-11 Thread David Herrmann
We need our own copy of the file-descriptor in each wl_display so we can close() it on error to wake up the main-thread. Signed-off-by: David Herrmann --- src/wayland-client.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/wayland-client.c b/src/wayland