apol created this revision. apol added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. apol requested review of this revision.
REVISION SUMMARY QXL is a driver used mainly in VMs. This driver, it creates a new preferred mode upon resize instead of just offering the one and resizing it. This makes Plasma not resize when it should as described on the bug report below. This patch allows kscreen to know if the driver considers we should be following the preferred mode. https://bugzilla.redhat.com/show_bug.cgi?id=1290586 TEST PLAN Tested extensively on one of these vms and outside. REPOSITORY R110 KScreen Library BRANCH apol/libkscreen REVISION DETAIL https://phabricator.kde.org/D15789 AFFECTED FILES backends/xrandr/xrandr.cpp backends/xrandr/xrandr.h backends/xrandr/xrandroutput.cpp backends/xrandr/xrandroutput.h src/configserializer.cpp src/output.cpp src/output.h To: apol, #plasma Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart