I've not looked at your video or source, but there is a substantial
difference in context switching between a call to get_pointer versus
using motion_notify_event.

get_pointer should be one round trip to the X server.  The application
will only execute when it wants to.

motion_notify_event is a stream of events from the X server.  When using
that, every move of the mouse results in execution of the application.

(If the application lags behind the event stream, e.g. by not processing
the whole stream before doing the next graphics operation, then some
interesting symptoms result.)

-- 
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to