summaryrefslogtreecommitdiff
path: root/src/test-watcher.c
diff options
context:
space:
mode:
authorFaidon Liambotis <[email protected]>2015-09-15 01:31:07 +0300
committerMonsta <[email protected]>2015-10-14 11:08:27 +0300
commitf1739c03e00a51e87bd49d04827e5b765d1c70de (patch)
tree025ae4520213de91a40c9c553cbbbf5af0503c49 /src/test-watcher.c
parent306599bdbae51788ed2c2faa061adc6966fd814d (diff)
downloadmate-screensaver-f1739c03e00a51e87bd49d04827e5b765d1c70de.tar.bz2
mate-screensaver-f1739c03e00a51e87bd49d04827e5b765d1c70de.tar.xz
Lock the screen on systemd sleep under systemd
Add a handler for the PrepareForSleep event on the system bus under systemd and lock the screen in such an event. This addresses the issue where "systemctl suspend" suspends the system but the system isn't locked on resume, with the obvious negative security connotations.
Diffstat (limited to 'src/test-watcher.c')
0 files changed, 0 insertions, 0 deletions