romangg created this revision. romangg added a reviewer: KWin. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. romangg requested review of this revision.
REVISION SUMMARY Instead of looping over all modes for retrieving current mode data copy it to a separate variable. TEST PLAN KWin auto tests pass and KScreen in Wayland nested session shows correct information. REPOSITORY R127 KWayland BRANCH cacheMode REVISION DETAIL https://phabricator.kde.org/D23493 AFFECTED FILES src/server/outputdevice_interface.cpp To: romangg, #kwin Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns