Aminal tries to detect actual monitor dpi scale if application window was moved by user.
Windows API SetProcessDpiAwarenessContext is called to enable window's non-client area aware about different DPI of connected monitors.
Fixes #203
Type of change
[ ] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Laptop with external HiDpi display
Test Configuration:
OS: Windows 1809
Known issues:
Mouse pointer cursor size is not get adjusted for new underlying monitor's dpi scale.
GLFW 3.2 has issue with updating connected displays count. In GLFW 3.3 these issues should be resolved, but meanwhile Aminal won't scale correctly if it was launched initially only with single monitor connected.
Description
SetProcessDpiAwarenessContext
is called to enable window's non-client area aware about different DPI of connected monitors.Fixes #203
Type of change
How Has This Been Tested?
Laptop with external HiDpi display
Test Configuration:
Known issues: