mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-12 13:29:55 -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
|
|
@ -54,7 +54,7 @@ int main(int argc, char *argv[])
|
|||
GSource *source;
|
||||
struct wl_screenshooter *screenshooter;
|
||||
|
||||
display = wl_display_create(socket_name, sizeof socket_name);
|
||||
display = wl_display_connect(socket_name, sizeof socket_name);
|
||||
if (display == NULL) {
|
||||
fprintf(stderr, "failed to create display: %m\n");
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue