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/logind.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/login/logind.h') diff --git a/src/login/logind.h b/src/login/logind.h index 0b52bf7b09..f415dfbcbf 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -100,11 +100,13 @@ struct Manager { usec_t inhibit_delay_max; HandleButton handle_power_key; - HandleButton handle_sleep_key; + HandleButton handle_suspend_key; + HandleButton handle_hibernate_key; HandleButton handle_lid_switch; bool power_key_ignore_inhibited; - bool sleep_key_ignore_inhibited; + bool suspend_key_ignore_inhibited; + bool hibernate_key_ignore_inhibited; bool lid_switch_ignore_inhibited; }; -- cgit v1.2.3-54-g00ecf