FeralInteractive / gamemode

Optimise Linux system performance on demand
BSD 3-Clause "New" or "Revised" License
4.67k stars 184 forks source link

Fix idle inhibitor closing bus connection too early #466

Closed notpeelz closed 5 months ago

notpeelz commented 6 months ago

According to the Idle Inhibition Service specification, inhibition stops when the client disconnects from the bus:

Inhibition will stop when the UnInhibit method is called, or the application disconnects from the D-Bus session bus (which usually happens upon exit).

notpeelz commented 5 months ago

Thanks!