Commit b9bd3f81 authored by Travis Michielsen's avatar Travis Michielsen Committed by Alexandre Julliard

Fixed handling of WM_MOUSEWHEEL messages in non-client space.

parent 17fd4e38
...@@ -504,7 +504,8 @@ static BOOL process_raw_mouse_message( MSG *msg, ULONG_PTR extra_info ) ...@@ -504,7 +504,8 @@ static BOOL process_raw_mouse_message( MSG *msg, ULONG_PTR extra_info )
} }
pt = msg->pt; 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->message += WM_NCMOUSEMOVE - WM_MOUSEMOVE;
msg->wParam = hittest; msg->wParam = hittest;
......
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