summaryrefslogtreecommitdiff
path: root/tools/event-gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/event-gui.c')
-rw-r--r--tools/event-gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/event-gui.c b/tools/event-gui.c
index f4f22db..4199373 100644
--- a/tools/event-gui.c
+++ b/tools/event-gui.c
@@ -637,7 +637,7 @@ handle_event_tablet(struct libinput_event *ev, struct window *w)
x = libinput_event_tablet_get_x_transformed(t, w->width);
y = libinput_event_tablet_get_y_transformed(t, w->height);
if (libinput_event_tablet_get_tip_state(t) ==
- LIBINPUT_TOOL_TIP_DOWN) {
+ LIBINPUT_TABLET_TOOL_TIP_DOWN) {
w->tool.x_down = x;
w->tool.y_down = y;
} else {