summaryrefslogtreecommitdiff
path: root/src/login/logind.h
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2014-08-26 22:08:02 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-26 22:08:02 +0200
commit3c56cab44150ad47323970cfadfb0257c6305a74 (patch)
treec03589bf880d471a08ba2bbe1b36e3ff9e6ed724 /src/login/logind.h
parent36202fd2bc252616966166c98ccb0e0e5ece1fc9 (diff)
logind: add HandleLidSwitchDocked= option to logind.conf + documentation
https://bugs.freedesktop.org/show_bug.cgi?id=82485
Diffstat (limited to 'src/login/logind.h')
-rw-r--r--src/login/logind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind.h b/src/login/logind.h
index 31353eff02..2f76572580 100644
--- a/src/login/logind.h
+++ b/src/login/logind.h
@@ -114,6 +114,7 @@ struct Manager {
HandleAction handle_suspend_key;
HandleAction handle_hibernate_key;
HandleAction handle_lid_switch;
+ HandleAction handle_lid_switch_docked;
bool power_key_ignore_inhibited;
bool suspend_key_ignore_inhibited;
@@ -159,6 +160,7 @@ int manager_get_session_by_pid(Manager *m, pid_t pid, Session **session);
bool manager_is_docked(Manager *m);
int manager_count_displays(Manager *m);
+bool manager_is_docked_or_multiple_displays(Manager *m);
extern const sd_bus_vtable manager_vtable[];