Commit a555aa8d authored by chili's avatar chili
Browse files

housekeeping: bring foreground Lclick client region

parent 6a82d758
...@@ -238,6 +238,8 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex ...@@ -238,6 +238,8 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex
{ {
const POINTS pt = MAKEPOINTS( lParam ); const POINTS pt = MAKEPOINTS( lParam );
mouse.OnLeftPressed( pt.x,pt.y ); mouse.OnLeftPressed( pt.x,pt.y );
// bring window to foreground on lclick client region
SetForegroundWindow( hWnd );
break; break;
} }
case WM_RBUTTONDOWN: case WM_RBUTTONDOWN:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment