Sort out mouse events for terminal apps
Submitted by Göran Weinholt
Description
Description of Problem: gnome-terminal no longer generates X11 Mouse Reporting codes when the right mouse button is pressed, or when the scroll wheel is used.
Steps to reproduce the problem:
- Fire up w3m in a gnome-terminal.
- Try to bring up the w3m menu by pressing the right mouse button.
- Try to scroll the page in w3m by using the scroll wheel on your mouse.
Actual Results: gnome-terminal brings up its own popup menu when the right mouse button is pressed. When the mouse wheel is used it simply scrolls the backlog.
Expected Results: If X11 Mouse Reporting has been enabled, gnome-terminal should send the correct key codes for these mouse events. This worked in gnome-terminal 1.4.1. Eterm and xterm also have the correct behaviour. The user should be required to hold shift, to scroll the backlog or bring up the popup menu, if X11 Mouse Reporting is enabled.
Additional Information: I'm using the gnome-terminal package from Debian, version 2.0.0-2 and libzvt2-0 version 1.99999.0-1.
Resolution: RESOLVED DUPLICATE