Wayland: don't update output configuration if there are no changes

Authored by dvratil on Jan 16 2018, 4:19 PM.

Description

Wayland: don't update output configuration if there are no changes

Summary:
This prevents the code from unnecesarilly emitting configChanged() if there
was in fact no change. This could lead to an endless loop when a client applies
current config and despite there not being no changes the backend emits
configChanged() to which the client reacts by applying the current config again
etc.

Reviewers: sebas, davidedmundson

Reviewed By: sebas

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
dvratilJan 16 2018, 4:19 PM
Reviewer
sebas
Differential Revision
D9906: Wayland: don't update output configuration if there are no changes
Parents
R110:6e37f3034f6c: Don't create multiple in-process backend instances
Branches
Unknown
Tags
Unknown