|
|
@ -413,7 +413,6 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
|
|
|
case WM_LBUTTONUP : |
|
|
|
case WM_LBUTTONUP : |
|
|
|
case WM_RBUTTONUP : |
|
|
|
case WM_RBUTTONUP : |
|
|
|
case WM_MBUTTONUP : // The middle mouse button was released.
|
|
|
|
case WM_MBUTTONUP : // The middle mouse button was released.
|
|
|
|
case WM_MOUSEMOVE : |
|
|
|
|
|
|
|
case 0x020A: // fuc&ing windows b.s...
|
|
|
|
case 0x020A: // fuc&ing windows b.s...
|
|
|
|
{ |
|
|
|
{ |
|
|
|
if (gClient && gClient->WindowActive() && gClient->GetInputManager()) |
|
|
|
if (gClient && gClient->WindowActive() && gClient->GetInputManager()) |
|
|
@ -423,6 +422,13 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case WM_MOUSEMOVE: |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (gClient && gClient->GetInputManager()) |
|
|
|
|
|
|
|
gClient->GetInputManager()->HandleWin32ControlEvent(message, wParam, lParam, hWnd); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
#if 0 |
|
|
|
#if 0 |
|
|
|
case WM_KILLFOCUS: |
|
|
|
case WM_KILLFOCUS: |
|
|
|
SetForegroundWindow(hWnd); |
|
|
|
SetForegroundWindow(hWnd); |
|
|
|