Applied a variation of this, thanks

On Fri, Apr 18, 2014 at 02:45:39PM +0200, Marcel Partap wrote:
> > Assuming the one on 11/04 is the MASK diff, I replied to it already and
> > it is not going in.
> No, is not. It's the attached one.
> 
> > Your other diffs don't really have enough explanation, window_choose_key
> > with KEYC_UP and DOWN works fine without any additional checks.
> Unless you have a "big" list and a "small" pane.
> #Regards.

> From ce524403411ca19f50cb6af65c0994cd7e762776 Mon Sep 17 00:00:00 2001
> From: Marcel Partap <mpar...@gmx.net>
> Date: Sun, 13 Apr 2014 00:14:07 +0200
> Subject: [PATCH 2/7] Re: m->scroll in choose-*: set to 1 by default?
> 
> ---
>  window-choose.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/window-choose.c b/window-choose.c
> index e75858e..9406b9c 100644
> --- a/window-choose.c
> +++ b/window-choose.c
> @@ -724,7 +724,8 @@ window_choose_mouse(
>       u_int                            i, idx;
>  
>       if (m->event == MOUSE_EVENT_WHEEL) {
> -             for (i = 0; i < m->scroll; i++) {
> +             /* Fine-grained scrolling in choice-mode. */
> +             for (i = 0; i < (m->scroll > 3 ? m->scroll/3 : 1); i++) {
>                       if (m->wheel == MOUSE_WHEEL_UP)
>                               window_choose_key(wp, sess, KEYC_UP);
>                       else
> -- 
> 1.9.2
> 


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to