winex11: Return FALSE from LoadTabletInfo if the system isn't a tablet.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46024 Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
62838182d5
commit
4e122bdadd
|
@ -761,14 +761,14 @@ BOOL CDECL X11DRV_LoadTabletInfo(HWND hwnddefault)
|
||||||
} /* for XListInputDevices */
|
} /* for XListInputDevices */
|
||||||
pXFreeDeviceList(devices);
|
pXFreeDeviceList(devices);
|
||||||
|
|
||||||
if (axis_read_complete)
|
if (!axis_read_complete)
|
||||||
gSysDevice.NCSRTYPES = gNumCursors;
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
disable_system_cursors();
|
disable_system_cursors();
|
||||||
WARN("Did not find a valid stylus, unable to determine system context parameters. Wintab is disabled.\n");
|
WARN("Did not find a valid stylus, unable to determine system context parameters. Wintab is disabled.\n");
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gSysDevice.NCSRTYPES = gNumCursors;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue