bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41343: tab-bar-mode: Close tab on mouse-2 click


From: Eli Zaretskii
Subject: bug#41343: tab-bar-mode: Close tab on mouse-2 click
Date: Wed, 20 May 2020 18:59:14 +0300

> From: Juri Linkov <juri@linkov.net>
> Cc: stefankangas@gmail.com,  41343@debbugs.gnu.org
> Date: Wed, 20 May 2020 00:54:15 +0300
> 
> > What do you mean by "find a way"?  What is the problem here?
> 
> The problem is to figure out how to force clicking different
> mouse buttons to emit the corresponding mouse event.  Currently
> clicking on the tab-line correctly emits such events, e.g.:
> 
>   <tab-line> <mouse-1>
>   <tab-line> <mouse-2>
> 
> but clicking any mouse button on the tab-bar emits events like:
> 
>   <tab-bar> <tab-1>
>   <tab-bar> <tab-2>

We could perhaps have a suitable redirect in function-key-map or one
of the other translation keymaps?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]