diff options
author | Rose Hudson <rose@krx.sh> | 2023-03-17 16:00:16 +0000 |
---|---|---|
committer | Rose Hudson <rose@krx.sh> | 2023-03-17 16:00:16 +0000 |
commit | 689627f0c0c62ea99681ea4256c45d601ccaef3e (patch) | |
tree | 1b2b1cec776dcec0936227bdcfdcc6cf5cae7e93 | |
parent | 7d9938c957db32725b7d0b7f98d366676c0fa307 (diff) |
examples/touch: fix incorrect event type
-rw-r--r-- | examples/touch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/touch.c b/examples/touch.c index 7c340e3c..6d13c80e 100644 --- a/examples/touch.c +++ b/examples/touch.c @@ -93,7 +93,7 @@ static void output_frame_notify(struct wl_listener *listener, void *data) { } static void touch_down_notify(struct wl_listener *listener, void *data) { - struct wlr_touch_motion_event *event = data; + struct wlr_touch_down_event *event = data; struct touch_state *tstate = wl_container_of(listener, tstate, down); struct sample_state *sample = tstate->sample; struct touch_point *point = calloc(1, sizeof(struct touch_point)); |