Wayland: don't share the same Config between backend and clients

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

Description

Wayland: don't share the same Config between backend and clients

Summary:
Sharing a single config leads to undesired side-effects. The GetConfigOperation
is assumed to always return a new copy of the current config that is not changed
unless registered to ConfigMonitor. When sharing a single copy this assumption is
broken which leads to misbehaviour in KDED.

This change makes GetConfigOperation always return a new copy of the config that
caller can register to ConfigMonitor if they want to, otherwise it remains
unchanged until released.

Reviewers: sebas, davidedmundson

Reviewed By: sebas

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
dvratilJan 16 2018, 4:18 PM
Reviewer
sebas
Differential Revision
D9904: Wayland: don't share the same Config between backend and clients
Parents
R110:0dc788c208a2: Update version number for 5.11.95 GIT_SILENT
Branches
Unknown
Tags
Unknown