daemon: fix missed quick-double-press events
authorAlex Badea <vamposdecampos@gmail.com>
Sun, 13 Jun 2010 11:06:24 +0000 (14:06 +0300)
committerAlex Badea <vamposdecampos@gmail.com>
Sun, 13 Jun 2010 11:06:24 +0000 (14:06 +0300)
Double-pressing the power button at a normal rate
(such as, the rate used for locking the display) will
usually result in the two ButtonPressed events being
received before the display_status==on event.  Speech
would not play in this case.

Work around this by monitoring ButtonPressed timing
and triggering speech from the display_status signal.


No differences found