Mouse Tracking fixes and improvements
This patch series fixes a series of bugs, implements mode 1003 (any event tracking) and makes mouse tracking modes mutually exclusive (the same as current xterm).
Summary of BKO refs:
- Bug 425926 - Double right click events are not properly reported
- Bug 302731 - emacs xterm-mouse-mode doesn't work in Konsole
- Bug 391967 - Konsole doesn't report mouse moves in ESC[?1003h mode
- Bug 416530 - Terminal mouse movement tracking for hover
- Bug 423333 - Wishlist: any-event mouse tracking support (1003 mode)
- Bug 391975 - Konsole keeps sending mouse-drag reports in ESC[?1003h mode after releasing button outside window
Other non BKO bugs fixed:
- Respect read-only for all mouse tracking events
- De-qwidget-ize TerminalColor and TerminalFonts (do not swallow mouse moves inside (0,0,100,30))
- Restore AutoScrollHandler behavior - broken by 6667d96e
- Support AutoScroll while mouse tracking is enabled