]> git.ipfire.org Git - thirdparty/systemd.git/commit
login: do not call manager_process_seat_device() more than once per event
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 May 2025 14:50:22 +0000 (23:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 May 2025 17:06:02 +0000 (02:06 +0900)
commit26a675dd56463cba39b627e053fd71dc32366fde
tree92b221ad01c03e7cc88682cde624f8477d84df37
parent3400abf3cafd0291da5e6016154f7c65763bdea1
login: do not call manager_process_seat_device() more than once per event

When udevd broadcasts an event for e.g. a graphics device with master-of-seat
tag, then previously manager_process_seat_device() was called twice for
the event.

With this commit, the function is called only once even for an event for
such device.
src/login/logind.c