chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: detect whether the system is docked, and if it is inhibit lid switch processing
[elogind.git]
/
src
/
login
/
logind.c
diff --git
a/src/login/logind.c
b/src/login/logind.c
index 9cbd9e817fc2c8028e68104a1e6021cbf828e860..3a514bbf81311cca8b43978519d9e1efb3659294 100644
(file)
--- a/
src/login/logind.c
+++ b/
src/login/logind.c
@@
-1039,7
+1039,7
@@
int manager_startup(Manager *m) {
inhibitor_start(inhibitor);
HASHMAP_FOREACH(button, m->buttons, i)
- button_check_
lid
(button);
+ button_check_
switches
(button);
manager_dispatch_idle_action(NULL, 0, m);