ZIm/crates/gpui/src/platform
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
..
blade Render paths to a single fixed-size MSAA texture (#34992) 2025-07-25 14:39:24 -07:00
linux windows: Port to DirectX 11 (#34374) 2025-07-30 15:27:58 -07:00
mac Revert "gpui: Implement support for wlr layer shell (#32651)" (#35331) 2025-07-30 13:36:22 +00:00
test Render paths to a single fixed-size MSAA texture (#34992) 2025-07-25 14:39:24 -07:00
windows windows: Handle scale factor change while window is maximized (#35686) 2025-08-05 16:42:17 -07:00
app_menu.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
blade.rs Switch to a single GPU context in Blade (#20853) 2024-12-18 14:47:09 -07:00
keyboard.rs gpui: Refactor PlatformKeyboardLayout (#29653) 2025-04-30 08:17:26 +00:00
keystroke.rs keymap_ui: Fix bug introduced in #35208 (#35237) 2025-07-28 17:27:10 -04:00
linux.rs gpui: Make screen capture dependency optional (#32937) 2025-07-02 10:15:06 -06:00
mac.rs gpui: Make screen capture dependency optional (#32937) 2025-07-02 10:15:06 -06:00
scap_screen_capture.rs collab: Add screen selector (#31506) 2025-07-21 13:44:51 +02:00
test.rs collab: Add screen selector (#31506) 2025-07-21 13:44:51 +02:00
windows.rs windows: Port to DirectX 11 (#34374) 2025-07-30 15:27:58 -07:00