mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
Fix OS X window closing bug
This commit is contained in:
parent
dc5b0110c9
commit
1a33192187
|
@ -75,7 +75,7 @@ impl WindowDelegate {
|
||||||
let state = state as *mut DelegateState;
|
let state = state as *mut DelegateState;
|
||||||
(*state).is_closed = true;
|
(*state).is_closed = true;
|
||||||
}
|
}
|
||||||
NO
|
YES
|
||||||
}
|
}
|
||||||
|
|
||||||
extern fn window_did_resize(this: &Object, _: Sel, _: id) {
|
extern fn window_did_resize(this: &Object, _: Sel, _: id) {
|
||||||
|
|
Loading…
Reference in a new issue