logind: filter out input devices that have none of the keys/switche we care about
authorLennart Poettering <lennart@poettering.net>
Tue, 27 Jun 2017 15:46:28 +0000 (17:46 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 27 Jun 2017 17:25:46 +0000 (19:25 +0200)
commit2546b70a5e507bd1e00fc7ea0e2ed24cd77349af
treef8bd40c7b3eda420d31733ae06ef105dfe0fc9b5
parentd5dd44b01c225f20166f2e004e41f72c3ea95b5a
logind: filter out input devices that have none of the keys/switche we care about

Let's check what keys are there, before we actually hang on to the
opened devices.
src/login/logind-button.c
src/login/logind-core.c