Merge lp:~oif-team/frame/semi-mt-addons3 into lp:frame

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

Description of the change

Another problem with the fixes...

To post a comment you must log in.
Revision history for this message
Chase Douglas (chasedouglas) wrote :

Ahh yes, I thought the changes might have been missing this bit, but I didn't take the time to work out the math. I'm glad to see this fix.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/frame.c'
2--- src/frame.c 2011-04-27 11:53:30 +0000
3+++ src/frame.c 2011-04-27 14:09:34 +0000
4@@ -344,7 +344,7 @@
5 memset(c, 0, sizeof(struct utouch_contact));
6 c->active = 1;
7 if (id > s->max_id)
8- id = s->min_id;
9+ id -= (s->max_id - s->min_id + 1);
10 c->id = id++;
11 c->x = x;
12 c->y = y;

Subscribers

People subscribed via source and target branches