Revision: 2794 http://tmux.svn.sourceforge.net/tmux/?rev=2794&view=rev Author: tcunha Date: 2012-05-12 14:59:17 +0000 (Sat, 12 May 2012) Log Message: ----------- Sync OpenBSD patchset 1110:
Only enter copy mode on scroll up, from Ailin Nemui. Modified Paths: -------------- trunk/input-keys.c Modified: trunk/input-keys.c =================================================================== --- trunk/input-keys.c 2012-05-12 14:58:43 UTC (rev 2793) +++ trunk/input-keys.c 2012-05-12 14:59:17 UTC (rev 2794) @@ -222,7 +222,8 @@ return; } - if (options_get_number(&wp->window->options, "mode-mouse") == 1) { + if ((m->b & 3) != 1 && + options_get_number(&wp->window->options, "mode-mouse") == 1) { if (window_pane_set_mode(wp, &window_copy_mode) == 0) { window_copy_init_from_pane(wp); if (wp->mode->mouse != NULL) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ tmux-cvs mailing list tmux-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-cvs