chiark / gitweb /
terminal: make evdev logind-matches per session
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 15:34:13 +0000 (17:34 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 16:14:44 +0000 (18:14 +0200)
commit5d301b8aecc286d6ec7e92b0864d66360ea57205
tree431ad4f13aec720990eb97247b45679162682e53
parentffb6c43e7985e837ae50f8831b98c9941c406969
terminal: make evdev logind-matches per session

Instead of adding matches per device, we now add logind matches per
session. This reduces the number of matches considerably and saves
resources.
src/libsystemd-terminal/idev-evdev.c
src/libsystemd-terminal/idev-internal.h
src/libsystemd-terminal/idev.c