mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
[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:
@@ -262,7 +262,7 @@ void CPipeServer::HandleReloadSettings()
|
||||
|
||||
AcquireSRWLockShared(&m_deviceContextLock);
|
||||
if (m_deviceContext)
|
||||
m_deviceContext->ReplugMonitor();
|
||||
m_deviceContext->ReloadSettings();
|
||||
ReleaseSRWLockShared(&m_deviceContextLock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user