tablet: explicitly set the tip state on the proximity event

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-12-21 15:24:03 +10:00
parent 6098655cfa
commit 9114054fa2

View file

@ -2203,6 +2203,7 @@ tablet_notify_proximity(struct libinput_device *device,
*proximity_event = (struct libinput_event_tablet_tool) {
.time = time,
.tool = tool,
.tip_state = LIBINPUT_TABLET_TOOL_TIP_UP,
.proximity_state = proximity_state,
};
memcpy(proximity_event->axes,