Fix clicking Toad for Oracle treeview nodes doesn't function. The left button click is sent to a
top-level TSafeHintWindow, which returns HTTRANSPARENT when handling WM_NCHITTEST. Tests show that
in such cases, the mouse message should be sent to the next top-level window in the z-order.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6585
wintab32 is currently broken in the new wow64 mode because the `tablet_get_packet` thunk in winex11.drv is not implemented. Since the structure it is copying is entirely internal to Wine, and the HCTX handle value is not actually read or written by the driver side, I found that simply padding the structure to keep the rest of it aligned was enough to make wow64 happy and allow wintab32 to function.
This is somewhat a stopgap. What would be much better is to refactor the wintab code such that more of the logic is in the wintab32 implementation and not the driver. My goal is to accomplish this as part of trying to get my winewayland graphics tablet patch into an acceptable state for upstreaming. However, I think this is still a worthwhile improvement to have in the interim, if it is acceptable.
--
v2: winex11: Remove stub tablet_get_packet wow64 thunk
wintab32: Pad WTPACKET to align 32/64-bit archs
https://gitlab.winehq.org/wine/wine/-/merge_requests/6584