D26481: feat(kcm): control scale
Roman Gilg
noreply at phabricator.kde.org
Tue Jan 7 00:20:01 GMT 2020
romangg created this revision.
romangg added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
romangg requested review of this revision.
REVISION SUMMARY
Some backends might not transmit scale information. For these save the scale
value in the control file on change.
Loading it from there is unproblematic in all three cases:
- No scale value in file. Then falls back to libkscreen's value (default = 1).
- Scale values are the same, that means backend transmits scale.
- Backend does not transmit and scale is different, then prefer control file.
REPOSITORY
R104 KScreen
BRANCH
scale-control
REVISION DETAIL
https://phabricator.kde.org/D26481
AFFECTED FILES
common/control.cpp
common/control.h
kcm/config_handler.cpp
kcm/config_handler.h
kcm/output_model.cpp
To: romangg, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200107/9c84a959/attachment.html>
More information about the Plasma-devel
mailing list