Don't steal focus on mouse move.

This commit is contained in:
Ben Vanik 2015-09-07 09:08:27 -07:00
parent 855ab7c040
commit 3e66afeb3a
1 changed files with 0 additions and 1 deletions

View File

@ -318,7 +318,6 @@ LRESULT Win32Window::WndProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam) { LPARAM lParam) {
if (message >= WM_MOUSEFIRST && message <= WM_MOUSELAST) { if (message >= WM_MOUSEFIRST && message <= WM_MOUSELAST) {
if (HandleMouse(message, wParam, lParam)) { if (HandleMouse(message, wParam, lParam)) {
SetFocus(hwnd_);
return 0; return 0;
} else { } else {
return DefWindowProc(hWnd, message, wParam, lParam); return DefWindowProc(hWnd, message, wParam, lParam);