diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2010-11-27 19:04:11 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-11-29 17:14:38 -0500 |
commit | 35fd2a8cc68c42d90756330535de04cbbb4d2613 (patch) | |
tree | 5c5f4f76324d29bf0437b5aae516a67338f48d84 /clients/screenshot.c | |
parent | c1ad1f9c9b493bc3b8952a4b6702476f1bbaa8df (diff) |
wayland_client: rename wl_display_create to wl_display_connect
Avoid conflict when using wayland-{server,client} together.
Diffstat (limited to 'clients/screenshot.c')
-rw-r--r-- | clients/screenshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/screenshot.c b/clients/screenshot.c index e9fa5aa..8b7dd8b 100644 --- a/clients/screenshot.c +++ b/clients/screenshot.c @@ -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; |