[idd] config: reload persisted display modes

Rebuild the driver's cached mode list before replugging the monitor so
Windows enumerates the settings saved by the helper.

Keep saved mode refresh rates intact and update only ExtraMode to the
configured default refresh.
This commit is contained in:
Geoffrey McRae
2026-08-06 23:05:45 +10:00
parent 05599ffd02
commit a279a87bdb
5 changed files with 65 additions and 13 deletions

View File

@@ -262,7 +262,7 @@ void CPipeServer::HandleReloadSettings()
AcquireSRWLockShared(&m_deviceContextLock);
if (m_deviceContext)
m_deviceContext->ReplugMonitor();
m_deviceContext->ReloadSettings();
ReleaseSRWLockShared(&m_deviceContextLock);
}