[PR #829] Simplify DPI logic #24340

Open
opened 2026-01-31 09:02:41 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/829

State: closed
Merged: Yes


This change simplify the code that deals with sizing of the main xaml content.

Win32 API like SetWindowPos are always in physical coordinates (a.k.a screen coordinates)
while Xaml/UWP apis are always in logical coordinates (a.k.a client coordinates divided vi monitor DPI)

**Original Pull Request:** https://github.com/microsoft/terminal/pull/829 **State:** closed **Merged:** Yes --- This change simplify the code that deals with sizing of the main xaml content. Win32 API like SetWindowPos are always in physical coordinates (a.k.a screen coordinates) while Xaml/UWP apis are always in logical coordinates (a.k.a client coordinates divided vi monitor DPI)
claunia added the pull-request label 2026-01-31 09:02:41 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24340