aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-session/xfce4-screensaver.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/xfce4-session/xfce4-screensaver.patch')
-rw-r--r--community/xfce4-session/xfce4-screensaver.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/xfce4-session/xfce4-screensaver.patch b/community/xfce4-session/xfce4-screensaver.patch
new file mode 100644
index 0000000000..2cb31b04be
--- /dev/null
+++ b/community/xfce4-session/xfce4-screensaver.patch
@@ -0,0 +1,12 @@
+diff --git a/scripts/xflock4 b/scripts/xflock4
+index 32770b4..525e6e2 100644
+--- a/scripts/xflock4
++++ b/scripts/xflock4
+@@ -30,6 +30,7 @@ LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
+ # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
+ for lock_cmd in \
+ "$LOCK_CMD" \
++ "xfce4-screensaver-command --lock" \
+ "xscreensaver-command -lock" \
+ "gnome-screensaver-command --lock"
+ do