Instead of adding matches per device, we now add logind matches per session. This reduces the number of matches considerably and saves resources.
5d301b8 terminal: make evdev logind-matches per session
src/libsystemd-terminal/idev-evdev.c | 170 ++++++++-----------------------
src/libsystemd-terminal/idev-internal.h | 4 +
src/libsystemd-terminal/idev.c | 114 +++++++++++++++++++++
3 files changed, 158 insertions(+), 130 deletions(-)
Upstream: github.com