X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind.h;h=f415dfbcbf3d7ae237563608f3a55d90ef04f23e;hb=c67fbe4c71977de14ebd09a8c250ef8091dff231;hp=24d705b541c116b2cf559c5271318d89620e36bd;hpb=c2f1db8f83618e60dcded8303d14656d7d26b436;p=elogind.git diff --git a/src/login/logind.h b/src/login/logind.h index 24d705b54..f415dfbcb 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -68,6 +68,9 @@ struct Manager { unsigned n_autovts; + unsigned reserve_vt; + int reserve_vt_fd; + Seat *vtconsole; char *cgroup_path; @@ -97,8 +100,14 @@ 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 suspend_key_ignore_inhibited; + bool hibernate_key_ignore_inhibited; + bool lid_switch_ignore_inhibited; }; enum {