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.
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.