Re: Failing to add socket to wayland display.

2014-10-10 Thread Daniel Stone
Hi, On 10 October 2014 11:02, Srivardhan 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 waylan

Re: Failing to add socket to wayland display.

2014-10-10 Thread Ryo Munakata
On Fri, 10 Oct 2014 15:32:54 +0530 Srivardhan wrote: > Hi, > > I wrote a small program to understand wayland-server. Below is the program: > #include > #include > > const char socket_name[] = "test_socket"; > > int main() > { > struct wl_display *test_display = NULL; > int st

Failing to add socket to wayland display.

2014-10-10 Thread Srivardhan
Hi, I wrote a small program to understand wayland-server. Below is the program: #include #include const char socket_name[] = "test_socket"; int main() { struct wl_display *test_display = NULL; int stat = 0; test_display = wl_display_create(); if (test_display)