[PR #3024] Simplify non-client hit testing in NCIslandWindow to fix doubleclick #25217

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

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

State: closed
Merged: Yes


It turns out that our WM_LBUTTONDOWN handler wasn't even necessary, as
our NCHITTEST tells win32 that all of the titlebar is actually
non-client area. This brings the code in line with
NonNonClientIslandWindow.

Fixes #2513

Validation Steps Performed

Went wild with the clicking and dragging.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/3024 **State:** closed **Merged:** Yes --- It turns out that our WM_LBUTTONDOWN handler wasn't even necessary, as our NCHITTEST tells win32 that all of the titlebar is actually non-client area. This brings the code in line with NonNonClientIslandWindow. Fixes #2513 ## Validation Steps Performed Went wild with the clicking and dragging.
claunia added the pull-request label 2026-01-31 09:08:02 +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#25217