[libcolorcorrect] Send auto location updates only when desirable

Authored by romangg on Jan 10 2018, 5:18 PM.

Description

[libcolorcorrect] Send auto location updates only when desirable

Instead of always sending auto location updates through our daemon query
the current running and mode states of KWin and only send it when running
is true and mode is zero, i.e. automatic location and time updates.

This is primarily meant as an improvement for deployments in sensitive
operation areas, where connections to external sources (even like in our
case anonymously via mozilla location service or if available gps) might
be unwanted.

Another future improvement might be to only launch the daemon on demand,
i.e. let KWin ask for this via dbus through KDED's functionality when
automatic mode is activated (either at startup or per config change).

Reviewers: Plasma, mart

Reviewed By: Plasma, mart

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D9352

Details

Committed
romanggJan 10 2018, 5:23 PM
Reviewer
Plasma
Differential Revision
D9352: [libcolorcorrect] Send auto location updates only when desirable
Parents
R120:d3434a2d34fa: Sync the startplasmacompositor with startkde
Branches
Unknown
Tags
Unknown