[rekonq] don't focus tab on middle mouse click

Andrea Diamantini adjam7 at gmail.com
Sun Oct 25 11:04:15 CET 2009


On Sunday 25 October 2009 02:53:52 Ronny Scholz wrote:
> This is a fix for bug https://bugs.kde.org/show_bug.cgi?id=205902
> 
> The problem is that the click event of the middle mouse button onto a tab
> activates it. Therefore, if a tab in the background is closed, the
>  currently activated tab looses the focus.
> 
> With the attached patch, rekonq won't focus a tab on middle mouse click.
> However, we will also loose the possibility to move tabs with the middle
>  mouse button (left button still works though), so this fix may need some
>  discussion.
> 

Why not just implementing a closeTab(index) call to middle mouse button click, 
instead of ignoring the event?

-- 
Andrea Diamantini, adjam
GPG Fingerprint: 57DE 8E32 7D1A 0E16 AA52 59D8 84F9 3ECD DBF9 730F

rekonq project
WEB: http://rekonq.sourceforge.net
IRC: rekonq at freenode



More information about the rekonq mailing list