[PATCH] Help Viewer - mouse issues

Grigory Trenin gtrenin at gmail.com
Thu Jan 4 20:33:37 UTC 2007


Pavel Tsekov wrote:

>I had this idea now. How about fixing the code that captures mouse
>events from xterm instead ? I.e. when it receives a mouse down event
>it will record which key was pressed and it will copy this information
>to the mouse up event ?
>

This will be not always reliable. Suppose such situation:
a user presses left mouse button, then (without releasing it)
presses right mouse button, and finally, he releases one of these
buttons. How do we know which button (left or right) was released?



More information about the mc-devel mailing list