Commit f0b14c6c authored by Peter Hutterer's avatar Peter Hutterer

Change the touch IDs to uints

Better overflow behavior, not that we're likely to trigger it.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent e92c9f0b
......@@ -582,8 +582,8 @@ xf86libinput_handle_touch(InputInfoPtr pInfo,
/* libinput doesn't give us hw touch ids which X expects, so
emulate them here */
static int next_touchid;
static int touchids[TOUCH_MAX_SLOTS] = {0};
static unsigned int next_touchid;
static unsigned int touchids[TOUCH_MAX_SLOTS] = {0};
slot = libinput_event_touch_get_slot(event);
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