Comment 8 for bug 1349056

Revision history for this message
In , Yves-Alexis Perez (corsac) wrote :

Hi,

it seems that the logic for handling logind inhibitions is completely backward.

The keys are named logind-handle-<foo> (and default to TRUE) which seems to indicate that *logind* does the job, not xfce4-power-manager.

But when actually adding inhibitors, the code (http://git.xfce.org/xfce/xfce4-power-manager/tree/src/xfpm-manager.c#n502) actually does the opposite: if the key is true, then xfpm considers that it has to do the job, and adds a dbus inhibitor.

That's completely confusing. Either the key names have to be changed, or the logic.