FeralInteractive / gamemode

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

Fix idle inhibitor closing bus connection too early #466

Closed notpeelz closed 8 months ago

notpeelz commented 8 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 8 months ago

Thanks!