console-kit: Check session-lock just by IdleHint
commitf2e0bb3c45d1f43b46e2e11bb09cbb0d67ad765f
authorPavel Grunt <pgrunt@redhat.com>
Tue, 17 Jan 2017 14:45:48 +0000 (17 15:45 +0100)
committerPavel Grunt <pgrunt@redhat.com>
Wed, 18 Jan 2017 09:23:12 +0000 (18 10:23 +0100)
treec354df318a7616b0f6540bae70d6a3ab12aa11a3
parent2dc986fcaf51aff1e307df469da8feeb86574111
console-kit: Check session-lock just by IdleHint

gnome-panel in RHEL6 does not emit the Unlock signal when session
is being unlocked making the agent think that the session is locked.

Remove handling of Lock/Unlock signals and keep only IdleHintChanged.

Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1412673

Acked-by: Victor Toso <victortoso@redhat.com>
src/vdagentd/console-kit.c