Hi,

On Mon, Apr 24, 2023 at 07:43:51PM -0400, Pierre-Marc Fournier wrote:
> Currently urxvt emits mouse reports upon pressing extra mouse buttons, i.e.
> those that come after wheel up/down/left/right, and which xev identifies as 8
> and up.  Buttons 8 and 9 are commonly labeled as "back" and "forward". 
> However,
> these mouse reports have a few problems.
> 
> For buttons 8 and 9, the values reported in the escape sequences are the
> same as those that are reserved for shift+wheel up (68) and shift+wheel down
> (69).
> 
> Release reports are also not being emitted for these buttons. The current 
> logic
> treats buttons with an id >= 4 as a wheel events.
> 
> xterm has taken the approach of using ids 128 and above for these buttons,
> avoiding the conflict with shift+wheel up/down codes.
> 
> This patch is an attempt at addressing these issues by matching xterm behavior
> by 1) changing reported button codes for those extra buttons, 2) adding 2 byte
> button representations in UTF8 mode for those buttons, and 3) publishing
> release events for those buttons.

thanks, applied. I also updated the documentation.

Emanuele

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to