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

This commit is contained in:
John Klehm 2008-05-06 22:12:56 -05:00 committed by Alexandre Julliard
parent 11a0e45304
commit 8d09d5c8ad
1 changed files with 2 additions and 2 deletions

View File

@ -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 )