shell: Use its own timer for the screensaver timeout
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 21 Feb 2013 16:35:21 +0000 (18:35 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Feb 2013 02:12:45 +0000 (21:12 -0500)
commit859e885985a953dfb441d1ffbcd61d62fe08ab10
treecffaf386c289b30f41698ca628a463fef14af1e2
parent19d10ef925494dac7da1806c03d6f59584bc0517
shell: Use its own timer for the screensaver timeout

Previously, the shell would change the idle_time of the compositor to
the screensaver timeout and wake the compositor again, so that after
the timeout the compositor would fade to black and then the shell would
receive the lock signal again and would set the dpms state of the
outputs to off.

Instead, use a screensaver-specific timer for that, and call lock
without the back and forth between the shell and core Weston.
src/shell.c