diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-19 13:10:10 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-19 13:10:10 +0200 |
commit | beaafb2ea6be591882aef21fe19b88e3b2461087 (patch) | |
tree | a61b375510b84f6b43bccfde4bbe0d46372aece5 /src/login/logind.h | |
parent | 468b21de7c9327bb8747d36e6273ed7aed97052a (diff) |
logind: rework power key/suspend key/lid switch handling
http://lists.freedesktop.org/archives/systemd-devel/2012-September/006604.html
https://bugzilla.gnome.org/show_bug.cgi?id=680689
This changes the meaning of the
HandlePowerKey=/HandleSleepKey=/HandleLidSwitch= setting of logind.conf
Diffstat (limited to 'src/login/logind.h')
-rw-r--r-- | src/login/logind.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/login/logind.h b/src/login/logind.h index 8aa28a322c..0b52bf7b09 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -102,6 +102,10 @@ struct Manager { HandleButton handle_power_key; HandleButton handle_sleep_key; HandleButton handle_lid_switch; + + bool power_key_ignore_inhibited; + bool sleep_key_ignore_inhibited; + bool lid_switch_ignore_inhibited; }; enum { |