Commit 8d09d5c8 authored by John Klehm's avatar John Klehm Committed by Alexandre Julliard

winex11.drv: Wintab packet serial numbers are passed via WPARAM.

parent 11a0e453
......@@ -834,7 +834,7 @@ static void motion_event( HWND hwnd, XEvent *event )
* (gMsgPacket.pkStatus & TPS_INVERT?-1:1));
gMsgPacket.pkNormalPressure = motion->axis_data[2];
gMsgPacket.pkButtons = get_button_state(curnum);
SendMessageW(hwndTabletDefault,WT_PACKET,0,(LPARAM)hwnd);
SendMessageW(hwndTabletDefault,WT_PACKET,gMsgPacket.pkSerialNumber,(LPARAM)hwnd);
}
static void button_event( HWND hwnd, XEvent *event )
......@@ -863,7 +863,7 @@ static void button_event( HWND hwnd, XEvent *event )
* (gMsgPacket.pkStatus & TPS_INVERT?-1:1));
gMsgPacket.pkNormalPressure = button->axis_data[2];
gMsgPacket.pkButtons = get_button_state(curnum);
SendMessageW(hwndTabletDefault,WT_PACKET,0,(LPARAM)hwnd);
SendMessageW(hwndTabletDefault,WT_PACKET,gMsgPacket.pkSerialNumber,(LPARAM)hwnd);
}
static void key_event( HWND hwnd, XEvent *event )
......
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