summaryrefslogtreecommitdiffstats
path: root/recipes/gpe-login/files/lock-on-supend.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gpe-login/files/lock-on-supend.patch')
-rw-r--r--recipes/gpe-login/files/lock-on-supend.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/gpe-login/files/lock-on-supend.patch b/recipes/gpe-login/files/lock-on-supend.patch
new file mode 100644
index 0000000000..0b00a75ead
--- /dev/null
+++ b/recipes/gpe-login/files/lock-on-supend.patch
@@ -0,0 +1,17 @@
+upstream: http://bugs.linuxtogo.org/show_bug.cgi?id=125
+status: accepted in 0.91
+
+Lock screen when device goes to suspend, not after some time has passed
+since resume and they stole your data from the unprotected screen.
+
+--- gpe-login-0.90/Makefile.am.org 2007-04-02 15:46:52.000000000 +0300
++++ gpe-login-0.90/Makefile.am 2007-11-24 22:41:24.000000000 +0200
+@@ -17,7 +17,7 @@
+ x11_SCRIPTS = gpe-login.setup X11/gpe-login.pre-session
+ x11_DATA = gpe-login.keylaunchrc X11/gpe-login.gtkrc
+
+-apmdir = $(sysconfdir)/apm/resume.d
++apmdir = $(sysconfdir)/apm/suspend.d
+ apm_SCRIPTS = gpe-login.suspend
+
+ xsessiondir = $(sysconfdir)/X11/Xsession.d