Files
PowerToys/src/modules/MouseWithoutBorders/App/MouseWithoutBorders.exe.manifest

80 lines
3.3 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="2.1.6.1103" name="MouseWithoutBorders"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Manifest Options
If you want to change the Windows User Account Control level replace the
requestedExecutionLevel node with one of the following.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Specifying requestedExecutionLevel element will disable file and registry virtualization.
Remove this element if your application requires this virtualization for backwards
compatibility.
-->
<!--NOTE(@yuyoyuppe): disabled to drop elevation requirement-->
<!--<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />-->
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- A list of the Windows versions that this application has been tested on and is
is designed to work with. Uncomment the appropriate elements and Windows will
automatically selected the most compatible environment. -->
<!-- Windows Vista -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />
<!-- Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
<!-- Windows 8 -->
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
<!-- Windows 8.1 -->
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
</application>
</compatibility>
<!--
DpiAwareness must be set to PROCESS_PER_MONITOR_DPI_AWARE to ensure individual screen resolution is pulled by the app properly.
UI may be a little broken in high DPI but that would be a minor issue.
More info.: https://docs.microsoft.com/en-us/windows/win32/api/shellscalingapi/ne-shellscalingapi-process_dpi_awareness
This is also set in code by calling SetProcessDpiAwareness but setting in manifest file is recommended.
-->
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
User/yeelam/dpi fix (#40079) <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request This PR updates all application manifest files across the PowerToys codebase to use **PerMonitorV2** DPI awareness, ensuring optimal high-DPI display support on modern Windows systems. ## Changes Made Updated **12 manifest files** to include proper PerMonitorV2 DPI awareness: ### Files with New DPI Support Added: - `src/runner/PowerToys.exe.manifest` - Added complete DPI awareness section - `src/modules/awake/Awake/app.manifest` - Upgraded from basic `dpiAware` to PerMonitorV2 ### Files Upgraded from PerMonitor to PerMonitorV2: - `src/modules/colorPicker/ColorPickerUI/App.manifest` - `src/modules/MouseWithoutBorders/App/MouseWithoutBorders.exe.manifest` ### Files Enhanced for Consistency: - `src/modules/ShortcutGuide/ShortcutGuide/ShortcutGuide.exe.manifest` - `src/modules/ZoomIt/ZoomIt/Zoomit.exe.manifest` - All 5 cmdpal extension manifests ## Technical Implementation All manifests now use the standardized format that provides: 1. **PerMonitorV2** as the primary DPI awareness mode for Windows 10 Anniversary Update and later 3. **`true/PM`** for backward compatibility with pre-Windows 10 systems ```xml <application xmlns="urn:schemas-microsoft-com:asm.v3"> <windowsSettings> <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware> <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness> </windowsSettings> </application> ``` ## Screenshot for comparision: Before: ![image](https://github.com/user-attachments/assets/ec621b21-d696-400a-8408-65da4ebdca95) After: ![image](https://github.com/user-attachments/assets/77ead0fe-1e8d-4e28-b71e-c6004ba53593) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-06-18 00:08:54 -07:00
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
</windowsSettings>
</application>
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>