motion history insanity
We are storing 1032 bytes (that is sizeof(GdkTimeCoord)) for each compressed motion event. The only saving grace is that we only keep history while a button is pressed, so thats rare.
I would suggest to redo the entire history saving in a way that lets us save only the axes we care about.
Edited by Matthias Clasen