From 2a45ea6839eedc6f914d6192b02d6c0a78bfb212 Mon Sep 17 00:00:00 2001 From: nobled Date: Fri, 28 Jan 2011 16:50:06 +0000 Subject: [PATCH] wayland: fix connecting to default socket Fixes a mistake in commit "wayland: Update to current api" (e7f62bc936995c5d998f7c8dc4b2b1b7254ea97d) --- clutter/wayland/clutter-backend-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/wayland/clutter-backend-wayland.c b/clutter/wayland/clutter-backend-wayland.c index ee8dac350..19eba1fd4 100644 --- a/clutter/wayland/clutter-backend-wayland.c +++ b/clutter/wayland/clutter-backend-wayland.c @@ -190,7 +190,7 @@ clutter_backend_wayland_post_parse (ClutterBackend *backend, g_atexit (clutter_backend_at_exit); /* TODO: expose environment variable/commandline option for this... */ - backend_wayland->wayland_display = wl_display_connect ("\0wayland"); + backend_wayland->wayland_display = wl_display_connect (NULL); if (!backend_wayland->wayland_display) { g_set_error (error, CLUTTER_INIT_ERROR,