track the config to monitor, save scale
ClosedPublic

Authored by sebas on Sep 21 2017, 1:00 PM.

Details

Summary

When doApplyConfig is called, we forgot to change the monitored config,
which means we weren't tracking changes anymore. This patch makes sure
that the new config becomes the monitored one in that case.

Also, save the scale property to the json config, we forgot to do that.

CCBUG:384733

Test Plan

Scale changes through kwin are now saved, they weren't before

Diff Detail

Repository
R104 KScreen
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sebas created this revision.Sep 21 2017, 1:00 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 21 2017, 1:00 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Sep 21 2017, 1:09 PM
This revision is now accepted and ready to land.Sep 21 2017, 1:09 PM
This revision was automatically updated to reflect the committed changes.