Failing to add socket to wayland display.

Daniel Stone daniel at fooishbar.org
Fri Oct 10 07:43:36 PDT 2014


Hi,

On 10 October 2014 11:02, Srivardhan <sri.hebbar at samsung.com> wrote:

>         stat = wl_display_add_socket(test_display, socket_name);
>         if (stat)
>                 fprintf(stderr, "Successfully connected to wayland
> display\n");
>         else
>                 fprintf(stderr, "Failed to connect to wayland display\n");
>

wl_display_add_socket returns 0 on success, so it is succeeding but your
test is wrong.

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20141010/620a5297/attachment.html>


More information about the wayland-devel mailing list