Re: Fix mouse wheel pane selection

2014-02-17 Thread Balazs Kezes
On 2014-02-14 13:22, Nicholas Marriott wrote: > Why not just let them both through always? Note that your patch has a slight behavior change: Originally any mouse event would change the current pane as long as the current one is not copy mode. In the new one we can only use DOWN and WHEEL but in a

Re: Fix mouse wheel pane selection

2014-02-14 Thread Nicholas Marriott
Why not just let them both through always? Index: server-client.c === RCS file: /cvs/src/usr.bin/tmux/server-client.c,v retrieving revision 1.115 diff -u -p -r1.115 server-client.c --- server-client.c 31 Jan 2014 14:19:24 -

Fix mouse wheel pane selection

2014-02-09 Thread Balazs Kezes
If you have mouse-select-pane enabled you can switch panes via the mouse wheel. But if the current pane is in copy mode this doesn't work. The attached patch fixes this. -- Balazs diff --git a/server-client.c b/server-client.c index 77e6de7..6001d64 100644 --- a/server-client.c +++ b/server-clien