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>
Sun, 20 Oct 2013 02:05:22 +0000 (03:05 +0100)
commit451ca93b8c2deb5ff2b88488608fc0ecfc531ed3
tree346ae6e0cb8edfcba4e6cd92f73497628806a71b
parenta20331e3a5ee3edf1bddf1bf6486a2021c2c3b51
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