Fixed HWND compare in NC_HandleSetCursor.
This commit is contained in:
parent
6e24a0a46e
commit
021dd9908f
|
@ -1729,7 +1729,8 @@ LONG NC_HandleNCActivate( HWND hwnd, WPARAM wParam )
|
|||
*/
|
||||
LONG NC_HandleSetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam )
|
||||
{
|
||||
if (hwnd != (HWND)wParam) return 0; /* Don't set the cursor for child windows */
|
||||
if (hwnd != WIN_GetFullHandle( (HWND)wParam ))
|
||||
return 0; /* Don't set the cursor for child windows */
|
||||
|
||||
switch(LOWORD(lParam))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue