winit
winit copied to clipboard
Minizing the window sends a resize event with 160x28 on Windows
Minizing the window sends a resize event with 160x28 on Windows (at least on my machine). This causes an unfortunate event in alacritty on Windows, where a strange behavior in conpty decides to delete scrollback history (https://github.com/alacritty/alacritty/issues/7074)
While this is technically not winit's problem, I wonder where the very particular resolution comes from. Is it directly from VM_SIZE? Older versions of winit used to send 0x0. The information would be useful to inserting platform-specific workarounds to alacritty so that at least some of the weirdness in conpty could be avoided.