]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Use new u-s-c command line format
authorRobert Ancell <robert.ancell@canonical.com>
Thu, 20 Jun 2013 08:50:35 +0000 (20:50 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Thu, 20 Jun 2013 08:50:35 +0000 (20:50 +1200)
src/seat-unity.c

index 75332a3fa8c0ccde6789609e21f71d4c3f72bb94..3e5f072abc5e9948466bdb94dab2cbce87112166 100644 (file)
@@ -341,7 +341,7 @@ seat_unity_start (Seat *seat)
     g_free (dir);
 
     SEAT_UNITY (seat)->priv->mir_socket_filename = g_strdup ("/tmp/mir_socket"); // FIXME: Use this socket by default as XMir is hardcoded to this
-    command = g_strdup_printf ("unity-system-compositor %d %d", SEAT_UNITY (seat)->priv->to_compositor_pipe[0], SEAT_UNITY (seat)->priv->from_compositor_pipe[1]);
+    command = g_strdup_printf ("unity-system-compositor --from-dm-fd %d --to-dm-fd %d", SEAT_UNITY (seat)->priv->to_compositor_pipe[0], SEAT_UNITY (seat)->priv->from_compositor_pipe[1]);
 
     absolute_command = get_absolute_command (command);
     g_free (command);