XRandR: Clear EDID data when monitor is disconnected from an output
ClosedPublic

Authored by dvratil on Nov 16 2017, 11:41 AM.

Details

Summary

This fixes KScreen behavior in situation when a monitor is unplugged
from an output and another monitor is plugged into the same output
afterwards. By keeping the old monitor's EDID around, the KDED module
would then mis-identify the newly connected monitor as the old one and
would apply the wrong config.

By clearing the EDID we force the backend to get an up-to-date EDID
from the new monitor, once ConfigMonitor requests it.

Diff Detail

Repository
R110 KScreen Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dvratil created this revision.Nov 16 2017, 11:41 AM
Restricted Application added a project: Plasma. · View Herald TranscriptNov 16 2017, 11:41 AM
davidedmundson accepted this revision.Nov 16 2017, 11:58 AM
This revision is now accepted and ready to land.Nov 16 2017, 11:58 AM
This revision was automatically updated to reflect the committed changes.