Alexandre Julliard : server: Fix the contents of the mouse data for the low-level hook.
Alexandre Julliard
julliard at winehq.org
Mon Mar 7 12:22:43 CST 2011
Module: wine
Branch: master
Commit: 34efca05c902864016fdbc81dd659360616f505d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=34efca05c902864016fdbc81dd659360616f505d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Mar 7 11:07:35 2011 +0100
server: Fix the contents of the mouse data for the low-level hook.
---
server/queue.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/queue.c b/server/queue.c
index d1aa715..97e0c4d 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -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 )))
More information about the wine-cvs
mailing list