Commit 34efca05 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Fix the contents of the mouse data for the low-level hook.

parent 55e1fec7
...@@ -1362,7 +1362,7 @@ static int send_hook_ll_message( struct desktop *desktop, struct message *hardwa ...@@ -1362,7 +1362,7 @@ static int send_hook_ll_message( struct desktop *desktop, struct message *hardwa
if (input->kbd.flags & KEYEVENTF_UNICODE) vkey = VK_PACKET; if (input->kbd.flags & KEYEVENTF_UNICODE) vkey = VK_PACKET;
msg->lparam = (input->kbd.scan << 16) | vkey; msg->lparam = (input->kbd.scan << 16) | vkey;
} }
else msg->lparam = input->mouse.data; else msg->lparam = input->mouse.data << 16;
if (!(msg->data = memdup( hardware_msg->data, hardware_msg->data_size )) || if (!(msg->data = memdup( hardware_msg->data, hardware_msg->data_size )) ||
!(msg->result = alloc_message_result( sender, queue, msg, timeout ))) !(msg->result = alloc_message_result( sender, queue, msg, timeout )))
......
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