wine-wine/dlls/winex11.drv
John Chadwick 578d26f826 winex11/wintab: Fix values for lcSys* and lcOut*.
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>
2019-11-25 20:47:43 +01:00
..
Makefile.in
bitblt.c winex11: Copy icon color table in 256-color mode (Valgrind). 2019-10-17 21:11:18 +02:00
brush.c
clipboard.c
desktop.c winex11.drv: Move the desktop fullscreen check after desktop init. 2019-11-05 17:30:58 +01:00
display.c winex11.drv: Get virtual desktop size limit from the host primary display. 2019-11-05 17:30:53 +01:00
event.c winex11.drv: Introduce is_virtual_desktop(). 2019-11-05 17:30:48 +01:00
graphics.c
ime.c
init.c winex11.drv: Implement X11DRV_D3DKMTCheckVidPnExclusiveOwnership. 2019-10-22 23:04:27 +02:00
keyboard.c
mouse.c winex11.drv: Introduce is_virtual_desktop(). 2019-11-05 17:30:48 +01:00
mwm.h
opengl.c
palette.c winex11: Fix off-by-one error in color value scaling. 2019-11-22 09:09:15 +01:00
pen.c
settings.c winex11.drv: Fix NoRes mode handler having an empty mode. 2019-11-05 17:31:05 +01:00
systray.c winex11.drv: Introduce is_virtual_desktop(). 2019-11-05 17:30:48 +01:00
version.rc
vulkan.c
window.c winex11.drv: Introduce is_virtual_desktop(). 2019-11-05 17:30:48 +01:00
winex11.drv.spec
wintab.c winex11/wintab: Fix values for lcSys* and lcOut*. 2019-11-25 20:47:43 +01:00
x11drv.h winex11.drv: Get virtual desktop size limit from the host primary display. 2019-11-05 17:30:53 +01:00
x11drv_main.c winex11.drv: Implement X11DRV_D3DKMTCheckVidPnExclusiveOwnership. 2019-10-22 23:04:27 +02:00
xcomposite.h
xdnd.c
xim.c
xinerama.c winex11.drv: Use a separate virtual desktop display device handler. 2019-11-05 17:30:50 +01:00
xrandr.c winex11.drv: Introduce is_virtual_desktop(). 2019-11-05 17:30:48 +01:00
xrender.c gdi32: Add D3DKMTSetVidPnSourceOwner and D3DKMTCheckVidPnExclusiveOwnership stubs. 2019-10-22 23:04:27 +02:00
xvidmode.c winex11.drv: Introduce is_virtual_desktop(). 2019-11-05 17:30:48 +01:00