Merge lp:~oif-team/grail/send-evkey-events into lp:grail

Proposed by Chase Douglas
Status: Merged
Merged at revision: 139
Proposed branch: lp:~oif-team/grail/send-evkey-events
Merge into: lp:grail
Diff against target: 12 lines (+1/-1)
1 file modified
src/grail-api.c (+1/-1)
To merge this branch: bzr merge lp:~oif-team/grail/send-evkey-events
Reviewer Review Type Date Requested Status
Henrik Rydberg (community) Approve
Review via email: mp+55967@code.launchpad.net

Description of the change

Send EV_KEY events to utouch-frame so it can detect the number of active touches on a semi-mt trackpad.

To post a comment you must log in.
Revision history for this message
Henrik Rydberg (rydberg) wrote :

This one is fine - thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/grail-api.c'
2--- src/grail-api.c 2011-03-17 09:46:39 +0000
3+++ src/grail-api.c 2011-04-01 16:26:09 +0000
4@@ -254,7 +254,7 @@
5
6 evbuf_put(&impl->evbuf, ev);
7
8- if (ev->type == EV_SYN || ev->type == EV_ABS) {
9+ if (ev->type == EV_SYN || ev->type == EV_ABS || ev->type == EV_KEY) {
10 frame = utouch_frame_pump_mtdev(impl->fh, ev);
11 if (frame)
12 report_frame(ge, frame, ev);

Subscribers

People subscribed via source and target branches

to all changes: