logind: expose a boolean on the bus explaining whether logind thinks the lid is closed
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Oct 2018 10:41:34 +0000 (12:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 14:39:31 +0000 (15:39 +0100)
commit9b9c23daf4b97e4b25ede3179df1cf7d7b27f304
treee3bc3e51244dbf81dd47402153a01dafc0d932b8
parenta7891d203c5c8192ec16141c00a30d93e175a0cf
logind: expose a boolean on the bus explaining whether logind thinks the lid is closed

This copies how we already expose a "Docked" boolean the reflects
whether we are in a docking station or not.
src/login/logind-core.c
src/login/logind-dbus.c
src/login/logind.h