wintab32: If we could not find a stylus sort of device, we haven't found a tablet.

This commit is contained in:
Jeremy White 2007-12-31 10:00:13 -06:00 committed by Alexandre Julliard
parent 51aecf8056
commit 659494660e
1 changed files with 10 additions and 3 deletions

View File

@ -724,9 +724,16 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
}
pXFreeDeviceList(devices);
gSysDevice.NCSRTYPES = cursor_target+1;
gNumCursors = cursor_target+1;
Tablet_FixupCursors();
if (axis_read_complete)
{
gSysDevice.NCSRTYPES = cursor_target+1;
gNumCursors = cursor_target+1;
Tablet_FixupCursors();
}
else
WARN("Did not find a valid stylus cursor with >= 5 axes, returning 0 valid devices.\n");
wine_tsx11_unlock();
}