forked from Mirrors/wine-wine
![]() Testing using the Wacom wintab32 (from driver version 6.3.37-3) on Windows 10, it appears that the values for lcOut* were likely accidentally mixed up with the values for lcSys*. The lcSys* values are, according to the documentation, supposed to specify the extent of the screen mapping area for the cursor, wheras lcOut* simply specifies the output coordinate space for the given context. There is no logical reason I'm aware of for why lcOut* would have different default values from lcIn*, and in testing Wacom wintab32 defaults lcOut* to match lcIn*. In addition, lcSysExt* should use SM_C*VIRTUALSCREEN instead of SM_C*SCREEN, to handle multi-monitor setups properly. Setting lcSysExt* to these values works even if the tablet is mapped to a subset of this area. After this change, PaintTool SAI 2 appears to work out of the box. Other wintab clients I tested appear to be unaffected (such as the Wintab SDK demos and Adobe Photoshop CS2.) Signed-off-by: John Chadwick <john@jchw.io> Signed-off-by: Alexandre Julliard <julliard@winehq.org> |
||
---|---|---|
.. | ||
Makefile.in | ||
bitblt.c | ||
brush.c | ||
clipboard.c | ||
desktop.c | ||
display.c | ||
event.c | ||
graphics.c | ||
ime.c | ||
init.c | ||
keyboard.c | ||
mouse.c | ||
mwm.h | ||
opengl.c | ||
palette.c | ||
pen.c | ||
settings.c | ||
systray.c | ||
version.rc | ||
vulkan.c | ||
window.c | ||
winex11.drv.spec | ||
wintab.c | ||
x11drv.h | ||
x11drv_main.c | ||
xcomposite.h | ||
xdnd.c | ||
xim.c | ||
xinerama.c | ||
xrandr.c | ||
xrender.c | ||
xvidmode.c |