[01:33] <TheMuso> c/
[12:51] <speakman> Hi folks. Are there any active development regarding multitouch in Ubuntu currently? I'm thinking of buying an Apple Magic Mouse, but I remember having a tough time with the mouse pad on my MacBook Air in 12.04.
[12:52] <dandrader> speakman,  no, not really. at least in terms of new gestures in Unity  and such
[12:53] <dandrader> but there are new gestures in 12.10 compared to 12.04
[20:07] <dandrader> I was thinking about adding the equivalent of frame_x11_accept_touch and frame_x11_reject_touch in frame.h. Afterall frame.h already has XInput2 specific concepts such as touch ownership and pending end.
[20:08] <dandrader> that would enable grail to get rid of its use of the frame_x11 header
[20:08] <dandrader> so that frame_x11.h could be really a backend side only affair
[20:09] <dandrader> and frame clients (grail) wouldn't have to bother about what backend was used to creaete the frame events it has been receiving
[20:09] <dandrader> bregma, cnd  thoughts?
[20:10] <cnd> hmm
[20:11] <cnd> let me take a quick look at the code
[20:13] <cnd> dandrader: the only XI2 specific bits are properties on touches, right?
[20:13] <cnd> UFTouchPropertyOwned, for example
[20:13] <dandrader> cnd, right
[20:14] <cnd> what do you propose will happen if you try to call frame_accept_touch() when the backend doesn't support it?
[20:14] <dandrader> nothing :)
[20:14] <cnd> return an error code?
[20:14] <cnd> hmm...
[20:15] <cnd> I guess I don't see anything wrong with doing nothing
[20:15] <cnd> in either case
[20:16] <cnd> yeah, I think it's ok
[20:16] <cnd> you'll have to deal with the API dance
[20:16] <cnd> ensuring that the updated grail depends on the updated frame
[20:16] <cnd> and that the relation continues into the packaging as well
[20:16] <cnd> we wouldn't want someone to get a new grail and an old frame and die
[20:17] <cnd> dandrader: I guess there's a slight complication
[20:17]  * dandrader listens
[20:17] <cnd> reject semantics also means: I shouldn't get any more events for this touch
[20:17] <cnd> so you would need to add a filter for non-ownership backends
[20:18] <cnd> if the client rejects touch 8, and then new events come in for that touch, you would need to filter them out
[20:19] <dandrader> right