summaryrefslogtreecommitdiff
path: root/src/grail-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/grail-event.c')
-rw-r--r--src/grail-event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grail-event.c b/src/grail-event.c
index 2cf8209..23fdbb3 100644
--- a/src/grail-event.c
+++ b/src/grail-event.c
@@ -97,6 +97,7 @@ void gin_send_event(struct grail *ge, struct slot_state *s,
97 const struct gesture_event *ev, 97 const struct gesture_event *ev,
98 const struct touch_frame *frame) 98 const struct touch_frame *frame)
99{ 99{
100 struct grail_impl *impl = ge->impl;
100 const struct gesture_inserter *gin = ge->gin; 101 const struct gesture_inserter *gin = ge->gin;
101 struct grail_event gev; 102 struct grail_event gev;
102 int i; 103 int i;
@@ -113,7 +114,7 @@ void gin_send_event(struct grail *ge, struct slot_state *s,
113 memcpy(gev.prop, ev->prop, ev->nprop * sizeof(grail_prop_t)); 114 memcpy(gev.prop, ev->prop, ev->nprop * sizeof(grail_prop_t));
114 for (i = 0; i < s->nclient; i++) { 115 for (i = 0; i < s->nclient; i++) {
115 gev.client_id = s->client_id[i]; 116 gev.client_id = s->client_id[i];
116 ge->gesture(ge, &gev); 117 grailbuf_put(&impl->gbuf, &gev);
117 } 118 }
118} 119}
119 120