[wintab32 1/7] Store and use the physical device id to match device to cursor.
Zachary Goldberg
zgold550 at gmail.com
Sun Dec 23 23:52:02 CST 2007
On Dec 23, 2007 11:55 AM, Jeremy White <jwhite at winehq.org> wrote:
> ...snip..
> +static int cursor_from_device(DWORD deviceid, LPWTI_CURSORS_INFO *cursorp)
> +{
> + int i;
> + for (i = 0; i < gNumCursors; i++)
> + if (gSysCursor[i].PHYSID == deviceid)
> + {
> + *cursorp = &gSysCursor[i];
> + return i;
> + }
> +
> + ERR("Could not map device id %d to a cursor\n", (int) deviceid);
> + return -1;
> }
>
> ...snip..
Perhaps a silly and/or wrong observation but, is this in an effort to
support multiple cursors?
More information about the wine-devel
mailing list