Commit 5474aa94 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Fixed problem with mouse cursors in Word.

parent aba60df4
......@@ -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))
{
......
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