Merge lp:~unity-team/qtmir/rtm-14.09-staging into lp:qtmir/rtm-14.09

Proposed by Michael Zanetti
Status: Merged
Approved by: Gerry Boland
Approved revision: 283
Merged at revision: 283
Proposed branch: lp:~unity-team/qtmir/rtm-14.09-staging
Merge into: lp:qtmir/rtm-14.09
Diff against target: 36 lines (+9/-8)
2 files modified
src/modules/Unity/Application/application_manager.cpp (+9/-0)
src/platforms/mirserver/mirserverstatuslistener.cpp (+0/-8)
To merge this branch: bzr merge lp:~unity-team/qtmir/rtm-14.09-staging
Reviewer Review Type Date Requested Status
Gerry Boland (community) Approve
Review via email: mp+244915@code.launchpad.net

Commit message

Backport to RTM:

- Bug #1394208

To post a comment you must log in.
Revision history for this message
Gerry Boland (gerboland) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/modules/Unity/Application/application_manager.cpp'
2--- src/modules/Unity/Application/application_manager.cpp 2014-10-30 11:55:15 +0000
3+++ src/modules/Unity/Application/application_manager.cpp 2014-12-16 21:28:14 +0000
4@@ -167,6 +167,15 @@
5 connectToSessionAuthorizer(appManager, sessionAuthorizer);
6 connectToTaskController(appManager, taskController.data());
7
8+ // Emit signal to notify Upstart that Mir is ready to receive client connections
9+ // see http://upstart.ubuntu.com/cookbook/#expect-stop
10+ // FIXME: should not be qtmir's job, instead should notify the user of this library
11+ // that they should emit this signal, perhaps by posting an event to the
12+ // QMirServerApplication event loop when it comes up
13+ if (qgetenv("UNITY_MIR_EMITS_SIGSTOP") == "1") {
14+ raise(SIGSTOP);
15+ }
16+
17 return appManager;
18 }
19
20
21=== modified file 'src/platforms/mirserver/mirserverstatuslistener.cpp'
22--- src/platforms/mirserver/mirserverstatuslistener.cpp 2014-07-01 13:38:06 +0000
23+++ src/platforms/mirserver/mirserverstatuslistener.cpp 2014-12-16 21:28:14 +0000
24@@ -34,12 +34,4 @@
25
26 void MirServerStatusListener::started()
27 {
28- // Emit signal to notify Upstart that Mir is ready to receive client connections
29- // see http://upstart.ubuntu.com/cookbook/#expect-stop
30- // FIXME: should not be qtmir's job, instead should notify the user of this library
31- // that they should emit this signal, perhaps by posting an event to the
32- // QMirServerApplication event loop when it comes up
33- if (qgetenv("UNITY_MIR_EMITS_SIGSTOP") == "1") {
34- raise(SIGSTOP);
35- }
36 }

Subscribers

People subscribed via source and target branches