summaryrefslogtreecommitdiff
path: root/src/login/logind-button.h
Commit message (Collapse)AuthorAge
* Prep v221: Update and clean up build system to sync with upstreamSven Eden2017-03-14
| | | | | | | | | | | | | | This commit replays the moving around of source files that have been done between systemd-219 and systemd-221. Further the Makefile.am is synchronized with the upstream version and then "re-cleaned". A lot of functions, that are not used anywhere in elogind have been coated into #if 0/#endif directives to further shorten the list of dependencies. All unneeded files have been removed.
* remove unused includesThomas Hindoe Paaboel Andersen2015-02-23
| | | | | | This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
* logind: detect whether the system is docked, and if it is inhibit lid switch ↵Lennart Poettering2014-02-24
| | | | | | | processing This should make operation nicer with docking stations, but will not cover anything that does not implement SW_DOCK.
* logind: when we wake up from suspend and the lid is still closed, go to ↵Lennart Poettering2014-02-21
| | | | | | | | | | | | | | | | | | | sleep immediately again This is quite useful on laptops such as the Lenovo Yoga, where the power button is placed on the front side of the laptop and can be pressed by accident even if the lid is closed. This reworks a bit of the logind logic to repeatedly try to suspend the system as long as a lid is closed. We use the new "post" event source for this, so that we don't keep things busy. This also adds some code to check the lid status on boot, so that a powered-off machine that is accidentaly powered on goes into suspend immediately. Yay! From now on I can put my Yoga safely in my backpack without fearing that it might turn itself on and drain the battery.
* use #pragma once instead of foo*foo define guardsShawn Landden2013-11-18
|
* logind: port logind to libsystemd-busLennart Poettering2013-11-05
|
* logind: add support for automatic suspend/hibernate/shutdown on idleLennart Poettering2012-12-24
|
* logind: add 'lock' as possible choice for handling hw keysLennart Poettering2012-10-28
|
* logind: support for hybrid sleep (i.e. suspend+hibernate at the same time)Lennart Poettering2012-10-28
|
* logind: if a lid-switch lock was taken while the lid was closed, recheck lid ↵Lennart Poettering2012-09-19
| | | | status when the lock is released
* logind: rework power key/suspend key/lid switch handlingLennart Poettering2012-09-19
| | | | | | | | 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
* logind: rework button setting semanticsLennart Poettering2012-05-30
| | | | | If a graphical session without full DE that handles power/suspend events is used this can now be controlled by logind instead, optionally.
* logind: add missing filesLennart Poettering2012-05-30