This reverts commit 19cd53193b.
Testing fullscreen functionality revealed that windowDidResize is invoked in more cases than previously thought, causing the user's events to be eaten and HiDPI problems.
This commit is contained in:
parent
0474dc9861
commit
eae7cb247c
3 changed files with 2 additions and 30 deletions
|
|
@ -181,11 +181,6 @@ impl WindowDelegate {
|
|||
let state: *mut c_void = *this.get_ivar("winitState");
|
||||
let state = &mut *(state as *mut DelegateState);
|
||||
emit_resize_event(state);
|
||||
|
||||
// discard the pending mouse down event
|
||||
if let Some(shared) = state.shared.upgrade() {
|
||||
shared.discard_next_event();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue