Skip to content
Snippets Groups Projects
Commit 2848bf8f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Support the third (now preferred) method of setting DPI awareness.

We will now try SetProcessDpiAwarenessContext() first, then
SetProcessDpiAwareness() second, and finally SetProcessDPIAware() [sic].

Also, "handle" the WM_DPICHANGED event.

This may solve problems initializing SyncTERM on systems with two
displays that have different DPI settings.
parent ad06de62
No related branches found
No related tags found
No related merge requests found
Pipeline #5847 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment