Fixed handling of WM_MOUSEWHEEL messages in non-client space.
This commit is contained in:
parent
17fd4e3816
commit
b9bd3f81c0
@ -504,7 +504,8 @@ static BOOL process_raw_mouse_message( MSG *msg, ULONG_PTR extra_info )
|
||||
}
|
||||
|
||||
pt = msg->pt;
|
||||
if (hittest != HTCLIENT)
|
||||
/* Note: windows has no concept of a non-client wheel message */
|
||||
if (hittest != HTCLIENT && msg->message != WM_MOUSEWHEEL)
|
||||
{
|
||||
msg->message += WM_NCMOUSEMOVE - WM_MOUSEMOVE;
|
||||
msg->wParam = hittest;
|
||||
|
Loading…
x
Reference in New Issue
Block a user