Merge lp:~3v1n0/unity/screensaver-monitors-vt-changes into lp:unity
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Christopher Townsend |
Approved revision: | no longer in the source branch. |
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 (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
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.
To post a comment you must log in.
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://