Merge lp:~3v1n0/unity/screensaver-monitors-vt-changes into lp:unity
| Status: | Merged |
|---|---|
| Approved by: | Christopher Townsend on 2015-05-20 |
| Approved revision: | 3966 |
| Merged at revision: | 3974 |
| Proposed branch: | lp:~3v1n0/unity/screensaver-monitors-vt-changes |
| Merge into: | lp:unity |
| Diff against target: |
75 lines (+22/-4) 2 files modified
UnityCore/GLibDBusProxy.cpp (+16/-3) UnityCore/GnomeSessionManager.cpp (+6/-1) |
| To merge this branch: | bzr merge lp:~3v1n0/unity/screensaver-monitors-vt-changes |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Christopher Townsend | 2015-05-19 | Approve on 2015-05-20 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-05-19 | |
|
Review via email:
|
|||
Commit Message
GnomeSessionMan
Connect to login1 session active property, and monitor its state.
When the session is active we can safely request the screensaver to stop.
Description of the Change
Test case:
sudo true && gdbus call --session --dest org.gnome.
Launching the script above in current unity, would cause it to switch VT and come back, but the screen will be blank. This change ensures the screen is turned on again.
- 3966. By Marco Trevisan (Treviño) on 2015-05-19
-
GnomeSessionMan
ager: Request ScreenSaver (de)activation on VT changes Connect to login1 session active property, and monitor its state.
When the session is active we can safely request the screensaver to stop.


PASSED: Continuous integration, rev:3966 jenkins. qa.ubuntu. com/job/ unity-ci/ 1227/ jenkins. qa.ubuntu. com/job/ unity-wily- amd64-ci/ 3 jenkins. qa.ubuntu. com/job/ unity-wily- armhf-ci/ 3 jenkins. qa.ubuntu. com/job/ unity-wily- i386-ci/ 3
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- ci/1227/ rebuild
http://