Diffusion KWin e728460ac614

[nightcolor] Use a dedicated class for detection of system clock changes

Authored by zzag on Jan 7 2020, 3:12 PM.

Description

[nightcolor] Use a dedicated class for detection of system clock changes

Summary:
The ClockSkewNotifier provides a convenient way for monitoring system
clock changes. One of the key ideas was to hide platform details from
users of the class. This allows us to add a QTimer fallback path for
operating systems that don't provide anything to detect system clock
changes.

In long term, I would like to move the new class to Frameworks.

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: KWin

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

Details

Committed
zzagJan 7 2020, 3:12 PM
Reviewer
KWin
Differential Revision
D25962: [nightcolor] Use a dedicated class for detection of system clock changes
Parents
R108:33f46f6d6c10: [nightcolor] Expose some properties to d-bus
Branches
Unknown
Tags
Unknown