mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 00:38:00 +02:00
Remove stale monitor data when output becomes disconnected.
Remove parsed EDID and EDID property from disconnected outputs.
(cherry picked from commit ae9d5aa479)
This commit is contained in:
parent
b5fde366e2
commit
40ae4f246d
1 changed files with 3 additions and 0 deletions
|
|
@ -1158,7 +1158,10 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
|||
output->status = (*output->funcs->detect)(output);
|
||||
|
||||
if (output->status == XF86OutputStatusDisconnected)
|
||||
{
|
||||
xf86OutputSetEDID (output, NULL);
|
||||
continue;
|
||||
}
|
||||
|
||||
memset (&mon_rec, '\0', sizeof (mon_rec));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue