mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
ratbagd is not something that needs stay around forever just because we configured a mouse once. We have DBus activation and we don't store anything anyway, so we might as well exit after a period of inactivity (20 min). There's a slight race condition where if something comes in at exactly the 20min mark, we may shut down anyway and the messages get lost. This is too narrow to worry about. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>