~alan-griffiths/unity-system-compositor/compatibility-with-proposed-mir-changes

Viewing all changes in revision 119.

  • Committer: CI bot
  • Date: 2014-03-11 03:37:04 UTC
  • Revision ID: ps-jenkins@lists.canonical.com-20140311033704-4kh0kw8w24r0itb0
Add an optional delay when powering off screen.

Add an option (power-off-delay, defaulted to 0) to delay stopping the compositor and powering off the screen to allow the shell to present a shutdown animation; without delay, the shell and-or greeter will get blocked while trying to render such animation; this is due to the compositor stopping as USC receives the power state change before the shell.

This is mostly a workaround as ideally, the greeter and-or shell should coordinate when to shutdown the screen after they are given a chance to possibly show a shutdown animation.

fixes: lp: #1233564 Fixes: 1233564

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: