Skip to content
Snippets Groups Projects
Commit 5474aa94 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard
Browse files

Fixed problem with mouse cursors in Word.

parent aba60df4
No related branches found
No related tags found
No related merge requests found
......@@ -527,7 +527,8 @@ static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
if (SendMessageW(GetParent(hwnd), WM_SETCURSOR, wParam, lParam)) return TRUE;
}
}
return NC_HandleSetCursor( hwnd, wParam, lParam );
NC_HandleSetCursor( hwnd, wParam, lParam );
break;
case WM_SYSCOMMAND:
return NC_HandleSysCommand( hwnd, wParam, lParam );
......
......@@ -1692,8 +1692,7 @@ LONG NC_HandleNCActivate( HWND hwnd, WPARAM wParam )
*/
LONG NC_HandleSetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam )
{
if (hwnd != WIN_GetFullHandle( (HWND)wParam ))
return 0; /* Don't set the cursor for child windows */
hwnd = WIN_GetFullHandle( (HWND)wParam );
switch(LOWORD(lParam))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment