http://bugs.winehq.org/show_bug.cgi?id=12005
John Klehm xixsimplicityxix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13046|0 |1 is obsolete| |
--- Comment #29 from John Klehm xixsimplicityxix@gmail.com 2008-05-21 23:35:50 --- Created an attachment (id=13231) --> (http://bugs.winehq.org/attachment.cgi?id=13231) Properly slot the cursors from the get go, no more compat hacks needed
This patch appropriately slots the detected tablet cursors as it finds them. It actually simplifies the code overall. I added a ton of comments though so the insertions are still about on par with deletions.
Shouldn't really be any difference between this an the support wintab compat mode for less than 3 patch, just that this is a much more clean and maintainable way in the code. That's not to say their wont be though, as this way there isn't any duplicated data.
There is one thing left to do regarding cursors in wintab and that is to make the system cursor slots use dynamic memory instead of a static array.
After this patch anyone with more than 4 reg tablets/2 multimode(dual-tracking) tablets connected at once may have problems. I thought that it would be rare anyone would have more tablets than that so let me know if I'm wrong. Without this patch 3 reg tablets/1 multimode tablet are fully supported.