]> git.ipfire.org Git - thirdparty/systemd.git/commit
login1: Emit NCurrentInhibitors changed events
authorAdrian Vovk <adrianvovk@gmail.com>
Tue, 20 Jan 2026 00:26:30 +0000 (19:26 -0500)
committerAdrian Vovk <adrianvovk@gmail.com>
Tue, 24 Feb 2026 01:03:07 +0000 (20:03 -0500)
commit482aa607a573c9430ee12390a0f3fc8f8290cc9b
treed16f07dfa741efb32bfe18ca48ea5ecbf6b94262
parent46075fc92b5e53168e7e5de79f5192fecb012e0a
login1: Emit NCurrentInhibitors changed events

Currently, there's no way for a desktop environment to detect when a
systemd inhibitor has been added or removed. This means that a desktop
environment that wishes to show current inhibitors to the user will be
either forced to poll systemd or just use stale data.

Now, the desktop can listen for changed events on NCurrentInhibitors and
call GetInhibitors() in response to that.
man/org.freedesktop.login1.xml
src/login/logind-dbus.c
src/login/logind-inhibit.c