Zhiyi Zhang (@zhiyi) commented about dlls/user32/tests/monitor.c:
DEVMODEA original_mode;
Change the commit subject to "explorer: Restore display settings on process exit." and explain it restores the display settings to the ones in the registry when CDS_FULLSCREEN is used in ChangeDisplaySettings().