canvasevent: per-tdw state, simplify queue API
authorAndrew Chadwick <andrewc-git@piffle.org>
Sun, 20 Oct 2013 01:55:25 +0000 (02:55 +0100)
committerAndrew Chadwick <andrewc-git@piffle.org>
Wed, 23 Oct 2013 00:33:17 +0000 (01:33 +0100)
commit8fcbfd48b7ebcec2ebe7f42045b81f0244fe753b
tree4ad837236adc8ef6174e34e1854a36a3758b0d70
parent29de809ade5557fa02c52fe08630dc6d2cfced93
canvasevent: per-tdw state, simplify queue API

Make last-event times and had-pressure flags per-TDW instead of cross-TDW.
Events may theoretically arrive on any drawing widget.

Remove the need to pass devices around: we now detect device changes in the
direct event handler.
gui/canvasevent.py