If you're using multiple windows and do tabbing for them the the of the frame could change without size of the window being changed, leading to winit not issuing resize events for the windows in tab group. So winit should send resize event when the frame changes as well, and not only when the window gets resized.
I'm not familiar with macOS API, however I could say that the frame rect we get in
|
extern "C" fn frame_did_change(this: &Object, _sel: Sel, _event: id) { |
is absolutely correct. And
window_did_resize method on window delegate don't get called at all.
@madsmtm Do you known something about it? Seems like something that could be easily fixed?
If you're using multiple windows and do tabbing for them the the of the frame could change without size of the window being changed, leading to winit not issuing resize events for the windows in tab group. So winit should send resize event when the frame changes as well, and not only when the window gets resized.
I'm not familiar with macOS API, however I could say that the frame rect we get in
winit/src/platform_impl/macos/view.rs
Line 324 in 0e52672
window_did_resizemethod on window delegate don't get called at all.@madsmtm Do you known something about it? Seems like something that could be easily fixed?