davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: KWin, kwin, plasma-devel.
REVISION SUMMARY We need to keep the DrmOutput object to still have the WaylandOutputDevice. Screens currently start off enabled as before. In order to keep KWin to have a correct index based list of screens we need to store a second vector of currently enabled outputs for the screens interface. TEST PLAN Had dual screens. Disabled/Enabled each one through the kscreen KCM REPOSITORY R108 KWin BRANCH master REVISION DETAIL https://phabricator.kde.org/D8796 AFFECTED FILES plugins/platforms/drm/drm_backend.cpp plugins/platforms/drm/drm_backend.h plugins/platforms/drm/drm_output.cpp plugins/platforms/drm/drm_output.h plugins/platforms/drm/screens_drm.cpp To: davidedmundson, #plasma Cc: plasma-devel, kwin, #kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart