implement systemd support for PowerDevil Policy Agent
authorLukas Tinkl <lukas@kde.org>
Fri, 21 Sep 2012 12:58:32 +0000 (14:58 +0200)
committerLukas Tinkl <lukas@kde.org>
Fri, 21 Sep 2012 12:58:32 +0000 (14:58 +0200)
commitb58f080d393214f3ba01bab017f62f568b0390d4
treed2de98556a051428e76f888e861c916c81632d11
parent40e9065ebc3b0f0549943b05778bc008e51012ea
implement systemd support for PowerDevil Policy Agent

This enables PowerDevil to react on active session changes
(correct locking, screen brightness) on systems w/o ConsoleKit,
like Fedora 18

Fixes e.g. https://bugzilla.redhat.com/show_bug.cgi?id=849334

REVIEW: 106506
powerdevil/daemon/powerdevilpolicyagent.cpp
powerdevil/daemon/powerdevilpolicyagent.h