#289, 1. add command option -dpi_sensitive_call=0, 2. reject sudden window dpi change

This commit is contained in:
Kang Yu 2024-02-09 12:19:50 -08:00
parent 63cd6db0e9
commit 818b8c50bd
4 changed files with 37 additions and 3 deletions

View file

@ -147,6 +147,9 @@ namespace PersistentWindows.SystrayShell
case "-delay_auto_capture":
delay_auto_capture = 1;
break;
case "-dpi_sensitive_call=0":
User32.DpiSenstiveCall = false;
break;
case "-redirect_appdata":
redirect_appdata = true;
break;