From 8e7fd6ade44ce5dde0867ba748c7978ed1206865 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 21 Sep 2012 15:44:14 +0200 Subject: logind: split up HandleSleepKey= into HandleSuspendKey= and HandleHibernateKey= The kernel and X11 distuingish these two, and Thinkpad keys have both, hence we really should distinguish them too. --- src/login/org.freedesktop.login1.policy.in | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/login/org.freedesktop.login1.policy.in') diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index 8d991e40fb..57dfb2a8b6 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -76,9 +76,19 @@ - - <_description>Allow applications to inhibit system handling of the sleep key - <_message>Authentication is required to allow an application to inhibit system handling of the sleep key. + + <_description>Allow applications to inhibit system handling of the suspend key + <_message>Authentication is required to allow an application to inhibit system handling of the suspend key. + + no + yes + yes + + + + + <_description>Allow applications to inhibit system handling of the hibernate key + <_message>Authentication is required to allow an application to inhibit system handling of the hibernate key. no yes -- cgit v1.2.3-54-g00ecf