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

oldstable
Alexandre Julliard 2011-03-07 11:07:35 +01:00
parent 55e1fec7c3
commit 34efca05c9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
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 )) ||
!(msg->result = alloc_message_result( sender, queue, msg, timeout )))