Don't steal focus on mouse move.
This commit is contained in:
parent
855ab7c040
commit
3e66afeb3a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue