chiark / gitweb /
logind: only allow one shutdown/sleep action to be queued at the same time
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Jan 2013 03:56:44 +0000 (04:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Jan 2013 03:56:44 +0000 (04:56 +0100)
commitaf9792ac7f39354f80e9006c42c2400c5e41c447
tree07fb7a3aa9ebf72f1f4f1654d778538bfd00afd3
parenta4cc3e5ccc0a3033d764a9eb3ae5ee90db560682
logind: only allow one shutdown/sleep action to be queued at the same time

This should make sure that closing the lid while shutting down won't
suspend the machine but will simply cause the shutdown to complete.
src/login/logind-action.c
src/login/logind-dbus.c
src/login/logind.c
src/login/logind.h