Conashimi
fb0af50553
gpui: Allow OS caption/buttons for custom Windows titlebar ( #48330 )
...
## Summary
Fixes an issue where GPUI's handling of `WM_NCLBUTTONDOWN` prevented
Windows from processing default titlebar interactions (dragging, caption
buttons, and border resize).
## Changes
- Allow OS to handle `WM_NCLBUTTONDOWN` events for `HTCAPTION`, caption
button areas, and resize border areas (`HTLEFT`, `HTRIGHT`, `HTTOP`,
`HTBOTTOM`, `HTTOPLEFT`, `HTTOPRIGHT`, `HTBOTTOMLEFT`, `HTBOTTOMRIGHT`)
- Use current cursor position in `WM_NCHITTEST` for accurate hit-testing
## Testing
- Manual testing on Windows: titlebar dragging works
- Manual testing on Windows: minimize/maximize/close buttons work
- Manual testing on Windows: window border resize works in all
directions
Release Notes:
- N/A
2026-02-09 15:04:12 -05:00
..
2026-02-06 14:03:03 -05:00
2026-02-09 08:57:26 -05:00
2026-02-04 13:12:49 +00:00
2026-02-05 23:35:44 +00:00
2026-02-09 15:37:16 +01:00
2026-02-04 18:51:57 +01:00
2026-01-28 21:34:10 +00:00
2026-02-07 04:21:58 +00:00
2026-01-30 21:26:13 +00:00
2026-02-06 20:14:35 +01:00
2026-02-09 00:56:20 +01:00
2026-02-09 09:19:51 +00:00
2026-02-06 20:21:19 +00:00
2026-02-05 20:10:02 +00:00
2026-01-30 10:14:36 +01:00
2026-01-28 18:28:53 +00:00
2026-02-07 17:54:29 +00:00
2026-02-06 14:03:03 -05:00
2026-02-05 17:34:34 -05:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-01-30 21:26:13 +00:00
2026-02-07 00:36:37 +00:00
2026-02-06 03:34:34 +00:00
2026-02-09 15:37:16 +01:00
2026-01-28 16:00:52 +00:00
2026-02-04 04:44:42 -05:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-02-04 17:37:13 +00:00
2026-02-09 18:02:56 +02:00
2026-02-06 00:31:24 -08:00
2026-02-04 17:54:11 -05:00
2026-02-09 15:37:16 +01:00
2026-02-09 13:39:48 -05:00
2026-02-06 01:04:53 +00:00
2026-02-04 23:03:15 +01:00
2026-02-05 12:13:02 +00:00
2026-02-07 17:54:29 +00:00
2026-02-09 11:55:00 +00:00
2026-02-07 17:54:29 +00:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-01-30 09:42:28 +01:00
2026-02-03 04:24:11 +00:00
2026-01-31 13:49:42 -05:00
2026-01-31 21:56:34 +00:00
2026-02-09 16:35:56 +00:00
2026-02-09 15:04:12 -05:00
2026-02-09 15:37:16 +01:00
2026-02-05 09:31:11 +00:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-02-04 23:45:52 +01:00
2026-02-09 15:37:16 +01:00
2026-02-08 17:54:01 +00:00
2026-02-04 23:03:15 +01:00
2026-02-07 04:21:58 +00:00
2026-02-09 09:19:51 +00:00
2026-02-05 15:06:02 +00:00
2026-02-05 12:23:39 +01:00
2026-02-03 15:51:40 -05:00
2026-02-07 00:36:37 +00:00
2026-02-02 16:37:58 +00:00
2026-01-28 00:19:13 -03:00
2026-02-06 16:50:36 +00:00
2026-02-09 15:37:16 +01:00
2026-02-05 17:34:34 -05:00
2026-02-05 20:10:02 +00:00
2026-02-04 01:33:12 +00:00
2026-02-09 15:37:16 +01:00
2026-01-31 09:57:31 +02:00
2026-02-09 15:37:16 +01:00
2026-02-02 13:30:07 +01:00
2026-02-06 15:34:36 +00:00
2026-02-09 15:37:16 +01:00
2026-02-07 00:36:37 +00:00
2026-02-09 18:53:31 +01:00
2026-02-09 15:37:16 +01:00
2026-01-30 21:26:13 +00:00
2026-02-06 22:24:38 +02:00
2026-02-09 15:37:16 +01:00
2026-02-04 09:15:21 +00:00
2026-02-02 13:30:07 +01:00
2026-02-09 18:53:31 +01:00
2026-02-09 20:18:24 +01:00
2026-02-04 01:33:12 +00:00
2026-02-07 17:54:29 +00:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-02-07 17:26:02 +00:00
2026-02-07 17:26:02 +00:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-02-09 08:56:21 -05:00
2026-01-29 16:33:38 -03:00
2026-02-05 20:10:02 +00:00
2026-02-04 17:54:11 -05:00
2026-01-28 00:19:13 -03:00
2026-02-05 20:25:20 +00:00
2026-02-05 10:37:39 +00:00
2026-01-28 16:36:44 -08:00
2026-01-30 21:26:13 +00:00
2026-02-06 20:14:35 +01:00
2026-02-08 20:10:52 -05:00
2026-02-04 17:37:13 +00:00
2026-01-28 17:05:34 +01:00
2026-02-09 15:37:16 +01:00
2026-02-02 16:56:25 +00:00
2026-02-09 15:37:16 +01:00
2026-02-02 13:30:07 +01:00
2026-02-05 22:58:55 -05:00
2026-02-09 15:37:16 +01:00
2026-02-09 15:37:16 +01:00
2026-02-06 07:02:06 +00:00
2026-01-29 15:31:13 +00:00
2026-02-09 19:28:58 +00:00
2026-02-06 20:14:35 +01:00
2026-02-06 00:31:24 -08:00