wintab32: Correctly handle devices with a device id of 0.
commit9267fcd99fb54d58b0928734a7ffe41fc479a4f3
authorJeremy White <jwhite@winehq.org>
Sun, 23 Dec 2007 16:56:16 +0000 (23 10:56 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 26 Dec 2007 12:18:32 +0000 (26 13:18 +0100)
tree6250b3afedbe87ea73fe00821f2a9657c1c9048b
parentd58429d085cdf890d9362a30b36626ca419e5b5a
wintab32: Correctly handle devices with a device id of 0.

The XInput macros such as DeviceMotionNotify will correctly return an eventclass of 0
if the device id is 0.  Given that, we cannot use eventclass != 0 as a meaningful
test, and must instead use the returned type.
dlls/winex11.drv/wintab.c