diff options
Diffstat (limited to 'src/login/logind.h')
-rw-r--r-- | src/login/logind.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/login/logind.h b/src/login/logind.h index 761763a476..730c14a46a 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -102,12 +102,17 @@ struct Manager { HandleAction idle_action; HandleAction handle_power_key; + HandleAction handle_power_key_long_press; + HandleAction handle_reboot_key; + HandleAction handle_reboot_key_long_press; HandleAction handle_suspend_key; + HandleAction handle_suspend_key_long_press; HandleAction handle_hibernate_key; + HandleAction handle_hibernate_key_long_press; + HandleAction handle_lid_switch; HandleAction handle_lid_switch_ep; HandleAction handle_lid_switch_docked; - HandleAction handle_reboot_key; bool power_key_ignore_inhibited; bool suspend_key_ignore_inhibited; @@ -122,6 +127,11 @@ struct Manager { usec_t holdoff_timeout_usec; sd_event_source *lid_switch_ignore_event_source; + sd_event_source *power_key_long_press_event_source; + sd_event_source *reboot_key_long_press_event_source; + sd_event_source *suspend_key_long_press_event_source; + sd_event_source *hibernate_key_long_press_event_source; + uint64_t runtime_dir_size; uint64_t runtime_dir_inodes; uint64_t sessions_max; |