D20521: Don't rescale every output every time outputs change

Aleix Pol Gonzalez <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
apol created this revision.
apol added a reviewer: Plasma.
Herald added a project: KWin.
Herald added a subscriber: kwin.
apol requested review of this revision.

REVISION SUMMARY
  Every time a display gets connected/disconnected, every output will be
  reinitialized. We don't really need to reset the scaling to 1 every time
  we don't know, especially since the setting has been set voluntarily.

TEST PLAN
  When I disconnect the external display, my laptop doesn't fallback to scale=1.

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D20521

AFFECTED FILES
  abstract_output.h
  plugins/platforms/drm/drm_backend.cpp

To: apol, #plasma
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.