Keep state files only when SaveOnExit is true
Xfwm4 keeps state files in ~/.cache/sessions/
even when the Save session for future login
option is unchecked. This isn't a problem in most cases, but it can leave unnecessary forensic artifacts on the disk which can be a problem for systems like QubesOS:
https://github.com/QubesOS/qubes-issues/issues/4972