D9904: Wayland: don't share the same Config between backend and clients
Daniel Vrátil
noreply at phabricator.kde.org
Mon Jan 15 21:22:52 UTC 2018
dvratil created this revision.
dvratil added reviewers: sebas, davidedmundson.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
dvratil requested review of this revision.
REVISION 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.
REPOSITORY
R110 KScreen Library
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D9904
AFFECTED FILES
src/backendmanager.cpp
src/configmonitor.cpp
src/getconfigoperation.cpp
To: dvratil, sebas, davidedmundson
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180115/e61d5ddd/attachment.html>
More information about the Plasma-devel
mailing list