mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Fix IDEA-277636: enable PerMonitorV2 DPI awareness via the app manifest
GitOrigin-RevId: 5a14ce4bef8a51ba77665813830ba89421a74130
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e9c7e0ab01
commit
1031dce2df
@@ -30,7 +30,7 @@ endif ()
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/WinLauncher.rc ${CMAKE_CURRENT_BINARY_DIR}/WinLauncher.rc @ONLY)
|
||||
|
||||
add_executable(WinLauncher WIN32 WinLauncher.cpp ${CMAKE_CURRENT_BINARY_DIR}/WinLauncher.rc)
|
||||
add_executable(WinLauncher WIN32 WinLauncher.cpp WinLauncher.manifest ${CMAKE_CURRENT_BINARY_DIR}/WinLauncher.rc)
|
||||
|
||||
set_target_properties(WinLauncher PROPERTIES
|
||||
OUTPUT_NAME ${FILE_NAME}
|
||||
|
||||
18
native/WinLauncher/WinLauncher.manifest
Normal file
18
native/WinLauncher/WinLauncher.manifest
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'
|
||||
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
||||
<trustInfo>
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<asmv3:application>
|
||||
<asmv3:windowsSettings xmlns:dpi1="http://schemas.microsoft.com/SMI/2005/WindowsSettings"
|
||||
xmlns:dpi2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
|
||||
<dpi1:dpiAware>true/PM</dpi1:dpiAware>
|
||||
<dpi2:dpiAwareness>PerMonitorV2, PerMonitor, system</dpi2:dpiAwareness>
|
||||
</asmv3:windowsSettings>
|
||||
</asmv3:application>
|
||||
</assembly>
|
||||
Reference in New Issue
Block a user