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

Reply via email to