aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-session/xfce4-screensaver.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-28 11:41:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-28 11:42:06 +0000
commit90947fb7882800e1ebb3df8232214c39234c8547 (patch)
tree56d81d1e1ca42e499e4a93b5e251902ae3110a1c /community/xfce4-session/xfce4-screensaver.patch
parent0e0edbd5e19bc64403854504b78ffc41ccdd3d41 (diff)
downloadaports-90947fb7882800e1ebb3df8232214c39234c8547.tar.gz
aports-90947fb7882800e1ebb3df8232214c39234c8547.tar.bz2
aports-90947fb7882800e1ebb3df8232214c39234c8547.tar.xz
community/xfce4-session: add support for xfce4-screensaver
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