[PR #10902] Account for the window frame when calculating initial position #28291

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Turns out, we'd only ever use the non-client size to calculate the size of the window, but not the actual position. As we learned in #10676, the nonclient area extends a few pixels past the visible borders of the window.

PR Checklist

Validation Steps Performed

  • Works with the IslandWindow
  • Works with the NonClientIslandWindow
**Original Pull Request:** https://github.com/microsoft/terminal/pull/10902 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Turns out, we'd only ever use the non-client size to calculate the size of the window, but not the actual position. As we learned in #10676, the nonclient area extends a few pixels past the visible borders of the window. ## PR Checklist * [x] Closes #10583 * [x] Closes #4246 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated ## Validation Steps Performed * [x] Works with the `IslandWindow` * [x] Works with the `NonClientIslandWindow`
claunia added the pull-request label 2026-01-31 09:27:33 +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#28291