lokker: update caps-lock hint even on "checking" state
authorDaniel Hirt <daniel.hirt@samsung.com>
Fri, 20 Mar 2015 19:15:50 +0000 (15:15 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 20 Mar 2015 19:15:50 +0000 (15:15 -0400)
commit75d07b3dde0946c167800083c9f322bf3769b5c9
tree592ecd0661a37c7e8e047157e30dac5ab5ac7f51
parentdef3ac82ae6d04e095d556c7b6c22e5eec7b7a7e
lokker: update caps-lock hint even on "checking" state

Summary:
This fixes the inconsistency in the "Caps Lock is On" hint, if you press
Caps-Lock when lokker is busy with checking the password
(LOKKER_STATE_CHECKING).

Test Plan:
  1. Lock the screen
  2. Enter invalid password (and press Enter)
  3. During password check, press Caps-Lock
The "Caps-Lock is On" should be consistent with the actual Caps-Lock
state.

@fix

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2171
src/modules/lokker/lokker.c