Fixed win32 bug where resizing window wouldn't show resize cursors

This commit is contained in:
Osspial 2016-05-07 21:00:50 -04:00
parent 524bc73039
commit 163563073f
2 changed files with 52 additions and 20 deletions

View file

@ -169,7 +169,8 @@ unsafe fn init(title: Vec<u16>, window: &WindowAttributes) -> Result<Window, Cre
let data = callback::ThreadLocalData {
win: real_window.0,
sender: tx.take().unwrap(),
window_state: window_state.clone()
window_state: window_state.clone(),
mouse_in_window: false
};
(*context_stash.borrow_mut()) = Some(data);
});