user32: Return the cursor position in send_hardware_message and use it to update the driver's position.
diff --git a/server/protocol.def b/server/protocol.def
index 91a59b2..73f2d8e 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -2032,6 +2032,10 @@
unsigned int flags; /* flags (see below) */
@REPLY
int wait; /* do we need to wait for a reply? */
+ int prev_x; /* previous cursor position */
+ int prev_y;
+ int new_x; /* new cursor position */
+ int new_y;
VARARG(keystate,bytes); /* global state array for all the keys */
@END
#define SEND_HWMSG_INJECTED 0x01