As suspected its caused by the light-locker integration. More specifically by xfpm_update_logind_handle_lid_switch in xfpm-settings.c:
logind-handle-lid-switch = true when: lock_on_suspend == true and (lid_switch_on_ac == suspend or lid_switch_on_battery == suspend)
As suspected its caused by the light-locker integration. More specifically by xfpm_update_ logind_ handle_ lid_switch in xfpm-settings.c:
logind- handle- lid-switch = true when: lock_on_suspend == true and (lid_switch_on_ac == suspend or lid_switch_ on_battery == suspend)