• John Chadwick's avatar
    winex11/wintab: Fix values for lcSys* and lcOut*. · 578d26f8
    John Chadwick authored
    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: 's avatarJohn Chadwick <john@jchw.io>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    578d26f8
Name
Last commit
Last update
..
Makefile.in Loading commit data...
bitblt.c Loading commit data...
brush.c Loading commit data...
clipboard.c Loading commit data...
desktop.c Loading commit data...
display.c Loading commit data...
event.c Loading commit data...
graphics.c Loading commit data...
ime.c Loading commit data...
init.c Loading commit data...
keyboard.c Loading commit data...
mouse.c Loading commit data...
mwm.h Loading commit data...
opengl.c Loading commit data...
palette.c Loading commit data...
pen.c Loading commit data...
settings.c Loading commit data...
systray.c Loading commit data...
version.rc Loading commit data...
vulkan.c Loading commit data...
window.c Loading commit data...
winex11.drv.spec Loading commit data...
wintab.c Loading commit data...
x11drv.h Loading commit data...
x11drv_main.c Loading commit data...
xcomposite.h Loading commit data...
xdnd.c Loading commit data...
xim.c Loading commit data...
xinerama.c Loading commit data...
xrandr.c Loading commit data...
xrender.c Loading commit data...
xvidmode.c Loading commit data...