Merge lp:~robert-ancell/lightdm/unity-assign-usc-vt into lp:~mir-team/lightdm/unity

Proposed by Robert Ancell
Status: Merged
Approved by: Robert Ancell
Approved revision: 1626
Merged at revision: 1628
Proposed branch: lp:~robert-ancell/lightdm/unity-assign-usc-vt
Merge into: lp:~mir-team/lightdm/unity
Diff against target: 28 lines (+6/-1)
2 files modified
src/seat-unity.c (+1/-1)
tests/src/unity-system-compositor.c (+5/-0)
To merge this branch: bzr merge lp:~robert-ancell/lightdm/unity-assign-usc-vt
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Chris Halse Rogers Approve
Review via email: mp+170729@code.launchpad.net

Commit message

Make system compositor start on required VT

To post a comment you must log in.
Revision history for this message
Robert Ancell (robert-ancell) wrote :
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Chris Halse Rogers (raof) wrote :

LGTM

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1626. By Robert Ancell

Merge with unity branch

Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/seat-unity.c'
2--- src/seat-unity.c 2013-06-21 03:42:40 +0000
3+++ src/seat-unity.c 2013-06-24 00:16:23 +0000
4@@ -344,7 +344,7 @@
5 SEAT_UNITY (seat)->priv->mir_socket_filename = g_strdup ("/tmp/mir_socket"); // FIXME: Use this socket by default as XMir is hardcoded to this
6 timeout = seat_get_integer_property (seat, "unity-compositor-timeout");
7 compositor_command = seat_get_string_property (seat, "unity-compositor-command");
8- command = g_strdup_printf ("%s --from-dm-fd %d --to-dm-fd %d", compositor_command, SEAT_UNITY (seat)->priv->to_compositor_pipe[0], SEAT_UNITY (seat)->priv->from_compositor_pipe[1]);
9+ command = g_strdup_printf ("%s --from-dm-fd %d --to-dm-fd %d --vt %d", compositor_command, SEAT_UNITY (seat)->priv->to_compositor_pipe[0], SEAT_UNITY (seat)->priv->from_compositor_pipe[1], SEAT_UNITY (seat)->priv->vt);
10
11 absolute_command = get_absolute_command (command);
12 g_free (command);
13
14=== modified file 'tests/src/unity-system-compositor.c'
15--- tests/src/unity-system-compositor.c 2013-06-21 03:42:40 +0000
16+++ tests/src/unity-system-compositor.c 2013-06-24 00:16:23 +0000
17@@ -151,6 +151,11 @@
18 to_dm_fd = atoi (argv[i+1]);
19 i++;
20 }
21+ else if (strcmp (arg, "--vt") == 0)
22+ {
23+ //vt_number = atoi (argv[i+1]);
24+ i++;
25+ }
26 else if (strcmp (arg, "--test") == 0)
27 test = TRUE;
28 else

Subscribers

People subscribed via source and target branches