Setting laptop lid action to suspend for both battery and a/c sets `logind-handle-lid-switch` to `true`
If I configure the lid action to suspend for both battery and A/C, it sets logind-handle-lid-switch
to true
. After inspecting the code, I believe this is part of the light locker integration. It is done in the xfpm_update_logind_handle_lid_switch
function which, according to comments, is part of the light locker integration. There is a call to that function which is also commented as light locker integration.
It seems like the two calls to that function in the callbacks about the battery and A/C lid changes should only be called if light locker is configured?
I have a patch for this, it is a small change, but I don't seem to be able to create a merge request. I'm not sure if that is a GitLab permission issue?