The relevant code should be in the following two files:
xfce4-session/xfsm-systemd.c xfce4-session/xfce-screensaver.c
The relevant code should be in the following two files:
xfce4-session/ xfsm-systemd. c xfce-screensave r.c
xfce4-session/