Files
oak-gpui/crates
Max Brunsfeld d0de81b0b4 windows: Handle scale factor change while window is maximized (#35686)
Fixes https://github.com/zed-industries/zed/issues/33257

Previously, the scale-factor-change-handling logic relied on
`SetWindowPos` enqueuing a `WM_SIZE` window event. But that does not
happen when the window is maximized. So when the scale factor changed,
maximized windows neglected to call their `resize` callback, and would
misinterpret the positions of mouse events.

This PR adds special logic for maximized windows, to ensure that the
size is updated appropriately.

Release Notes:

- N/A
2025-08-05 16:42:17 -07:00
..
2025-08-05 18:16:47 +00:00
2025-07-29 13:24:34 -07:00
2025-08-05 18:16:47 +00:00
2025-07-21 13:44:51 +02:00
2025-06-17 20:26:27 +00:00
2025-07-17 14:25:55 +00:00
2025-07-08 14:34:57 +00:00
2025-08-04 09:49:51 -03:00