Restore display settings.
Only restore by the display registry settings.
Do not change display settings twice when turning off privacy mode.
Only restore the registry values.
Signed-off-by: fufesou <linlong1266@gmail.com>
1. Windows, multi-display, as the controlled side.
2. Connect
3. Turn on privacy mode, with mode 2.
4. Turn off privacy mode.
Then the display settings are continues changed when connect &
disconnect.
Signed-off-by: fufesou <linlong1266@gmail.com>
How to reproduce: elevate at primary display->switch to another
display->
trigger UAC->switch to primary display->can't see UAC
Signed-off-by: 21pages <sunboeasy@gmail.com>