Skip to content

Commit

Permalink
Don't log error when WM_CAPTURECHANGED is reentrant, since in that ca…
Browse files Browse the repository at this point in the history
…se we'll have called it ourselves and don't require the callback.
  • Loading branch information
teddemunnik committed Mar 18, 2020
1 parent 03a7647 commit eb0e1d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions druid-shell/src/platform/windows/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,6 @@ impl WndProc for MyWndProc {
if let Ok(mut s) = self.state.try_borrow_mut() {
let s = s.as_mut().unwrap();
s.captured_mouse_buttons = 0;
} else {
self.log_dropped_msg(hwnd, msg, wparam, lparam);
}
Some(0)
}
Expand Down

0 comments on commit eb0e1d7

Please sign in to comment.