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