[PR #4829] Resize the drag bar on WM_DISPLAYCHANGE #25968

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Pretty straightforward. When we get a WM_DISPLAYCHANGE, that means the display's DPI changed. When that happens, resize the drag bar, so that it'll reflect the new scaling.

References

I'm doing this to unblock #4778

PR Checklist

Validation Steps Performed

Man I've changed the DPI of my displays so many times in the last 30 minutes. I draged the window across a bunch of DPI boundaries too.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4829 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Pretty straightforward. When we get a `WM_DISPLAYCHANGE`, that means the display's DPI changed. When that happens, resize the drag bar, so that it'll reflect the new scaling. ## References I'm doing this to unblock #4778 ## PR Checklist * [x] Closes #4166 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated ## Validation Steps Performed Man I've changed the DPI of my displays so many times in the last 30 minutes. I draged the window across a bunch of DPI boundaries too.
claunia added the pull-request label 2026-01-31 09:12:58 +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#25968