> 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

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to