mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
01d6c1b9a9
This is required so that the undocumented DISPLAYCONFIG_SOURCE_DPI_SCALE_GET Windows CCD call is given the correct information by Windows 10/11. It gives an abnormal number on some hardware if this is not set. What we do now is set the process DPI context to "System Aware" on boot, but when we are either getting or setting the Windows DPI settings, we quickly swap to "Monitor Aware v2" DPI context, before swapping back to "System Aware" when we're done. This *should* return the correct per monitor settings. |
||
---|---|---|
.. | ||
AMD | ||
NVIDIA | ||
Properties | ||
Resources | ||
UserControls | ||
Windows | ||
DisplayMagicianShared.csproj | ||
DisplayMagicianStartupAction.cs | ||
PixelShift.cs | ||
ProfileIcon.cs | ||
ProfileItem.cs | ||
ProfileRepository.cs | ||
ResizeDrawing.cs | ||
RestartManagerSession.cs | ||
Rotation.cs | ||
Scaling.cs | ||
ScanLineOrdering.cs | ||
SharedLogger.cs | ||
ShellHelper.cs | ||
Utils.cs | ||
Wallpaper.cs |