Commit 4e122bda authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

winex11: Return FALSE from LoadTabletInfo if the system isn't a tablet.

parent 62838182
...@@ -761,14 +761,14 @@ BOOL CDECL X11DRV_LoadTabletInfo(HWND hwnddefault) ...@@ -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;
} }
......
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