Fixed problem with mouse cursors in Word.
This commit is contained in:
parent
aba60df415
commit
5474aa941b
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue