Wintab32 (Patch 3 of 8) -- Expose more XInput events through the
wintab api.
Robert North
7ownq0k402 at sneakemail.com
Fri Jan 21 12:41:29 CST 2005
This set of patches works towards better quality painting in Painter5.
Tested on Painter5 & Photoshop 6.
Changelog:
* Correct overflow 1 message too early.
* Overflow now going onto message queue.
* Overflow state correctly or-ed with other packet status.
-------------- next part --------------
Index: dlls/wintab32/context.c
===================================================================
--- dlls/wintab32/context.c (revision 155)
+++ dlls/wintab32/context.c (revision 156)
@@ -203,10 +203,10 @@
DUMPPACKET(*packet);
- if (tgt + 1 == ptr->QueueSize)
+ if (tgt == ptr->QueueSize)
{
TRACE("Queue Overflow %p\n",ptr->handle);
- packet->pkStatus = TPS_QUEUE_ERR;
+ ptr->PacketQueue[tgt-1].pkStatus |= TPS_QUEUE_ERR;
}
else
{
More information about the wine-patches
mailing list