Commit 65949466 authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

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

parent 51aecf80
...@@ -724,9 +724,16 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault) ...@@ -724,9 +724,16 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
} }
pXFreeDeviceList(devices); pXFreeDeviceList(devices);
if (axis_read_complete)
{
gSysDevice.NCSRTYPES = cursor_target+1; gSysDevice.NCSRTYPES = cursor_target+1;
gNumCursors = cursor_target+1; gNumCursors = cursor_target+1;
Tablet_FixupCursors(); Tablet_FixupCursors();
}
else
WARN("Did not find a valid stylus cursor with >= 5 axes, returning 0 valid devices.\n");
wine_tsx11_unlock(); wine_tsx11_unlock();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment