Thomas Hindoe Paaboel Andersen
2eec67acbb
remove unused includes
...
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.
2015-02-23 23:53:42 +01:00
Lennart Poettering
85a428c694
logind: log which process is delaying suspend and not closing locks
2013-11-27 02:39:19 +01:00
Shawn Landden
05d3a17623
use #pragma once instead of foo*foo define guards
2013-11-18 20:28:54 -05:00
Lennart Poettering
cc37738108
logind: port logind to libsystemd-bus
2013-11-05 01:13:05 +01:00
Lennart Poettering
8e7fd6ade4
logind: split up HandleSleepKey= into HandleSuspendKey= and HandleHibernateKey=
...
The kernel and X11 distuingish these two, and Thinkpad keys have both,
hence we really should distinguish them too.
2012-09-21 15:44:14 +02:00
Lennart Poettering
409133be63
logind: allow users to override their own suspend/sleep inhibitors
2012-09-21 11:57:48 +02:00
Lennart Poettering
beaafb2ea6
logind: rework power key/suspend key/lid switch handling
...
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
2012-09-19 13:10:10 +02:00
Malte Starostik
cabe5d2564
logind: punt duplicate definition of InhibitWhat
...
Trivial fix for:
src/login/logind-inhibit.h:37:3: error: redefinition of typedef 'InhibitWhat'
src/login/logind-inhibit.h:26:26: note: previous declaration of 'InhibitWhat' was here
2012-06-04 13:30:54 +02:00
Lennart Poettering
d889a2069a
logind: implement suspend/hibernate calls with inhibition logic
2012-05-08 19:02:25 +02:00
Lennart Poettering
4943c1c94b
logind: use "sleep" as generic term for "suspend", "hibernate", and later on "hybrid suspend"
2012-05-08 13:54:23 +02:00
Lennart Poettering
eecd1362f7
logind: implement delay inhibitor locks in addition to block inhibitor locks
...
This is useful to allow applications to synchronously save data before
the system is suspended or shut down.
2012-05-05 00:36:08 +02:00
Lennart Poettering
c7b5eb98e8
logind: hook up inhibit logic with idle hint logic
2012-04-16 18:59:08 +02:00
Lennart Poettering
f8e2fb7b14
logind: add shutdown/suspend/idle inhibition framework
2012-04-16 18:59:08 +02:00