mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
wayland_client: rename wl_display_create to wl_display_connect
Avoid conflict when using wayland-{server,client} together.
This commit is contained in:
parent
c1ad1f9c9b
commit
35fd2a8cc6
4 changed files with 4 additions and 4 deletions
|
|
@ -1425,7 +1425,7 @@ display_create(int *argc, char **argv[], const GOptionEntry *option_entries)
|
|||
if (d == NULL)
|
||||
return NULL;
|
||||
|
||||
d->display = wl_display_create(socket_name, sizeof socket_name);
|
||||
d->display = wl_display_connect(socket_name, sizeof socket_name);
|
||||
if (d->display == NULL) {
|
||||
fprintf(stderr, "failed to create display: %m\n");
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue