wayland: fix connecting to default socket

Fixes a mistake in commit "wayland: Update to current api"
(e7f62bc936)
This commit is contained in:
nobled 2011-01-28 16:50:06 +00:00
parent 4197bada42
commit 2a45ea6839

View File

@ -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,