http://bugs.winehq.org/show_bug.cgi?id=15443
--- Comment #14 from John Klehm xixsimplicityxix@gmail.com 2008-10-29 18:05:14 --- The patches referred to here at the 2 not obsoleted patches attached to bug 11846: try even harder to find x11 window and a much better way to get x11 window messages.
Once you have those applied you can try changing the initial value of hwndTablatEvents depending on the program. Keep in mind that these modifications are pretty ugly hacks.
On a brighter note I think that the root cause of this bug and most of the remaining tablet bugs are due to our forced usage of a single default tablet context. To fix them wintab needs to handle multiple tablet contexts, this should fix the event processing related to child/parent windows. I've got some nonsense cooked up that seems to work. Hopefully after midterms I can get it cleaned up and submitted.