summaryrefslogtreecommitdiff
path: root/tools/event-gui.c
diff options
context:
space:
mode:
authorStephen Chandler Paul <thatslyude@gmail.com>2015-02-16 22:48:42 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2015-02-18 13:27:29 +1000
commitc7948e3bb5ee81513e02399bba3e814602065dcf (patch)
tree98890d67fd138e18fed6df29a2281e99dd7a2fef /tools/event-gui.c
parent06f424afb7bdf6ee3d71bb9db895a1efa29b81e1 (diff)
tablet: Merge PROXIMITY_IN and PROXIMITY_OUT into a single event
There isn't much purpose in having proximity in and out as different events, combining them into one single event is more consistent with the rest of the API, and means less code for clients to have to work with. Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/event-gui.c')
-rw-r--r--tools/event-gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/event-gui.c b/tools/event-gui.c
index 1857a2e..063624f 100644
--- a/tools/event-gui.c
+++ b/tools/event-gui.c
@@ -471,8 +471,7 @@ handle_event_libinput(GIOChannel *source, GIOCondition condition, gpointer data)
}
break;
case LIBINPUT_EVENT_TABLET_AXIS:
- case LIBINPUT_EVENT_TABLET_PROXIMITY_IN:
- case LIBINPUT_EVENT_TABLET_PROXIMITY_OUT:
+ case LIBINPUT_EVENT_TABLET_PROXIMITY:
case LIBINPUT_EVENT_TABLET_BUTTON:
break;
}