Sync OpenBSD patchset 258:

Disable mode-mouse (mouse in copy/choice mode) by default as it isn't very
useful at the moment and causes confusion.
This commit is contained in:
Tiago Cunha 2009-08-16 19:20:37 +00:00
parent c1fee8793d
commit 9541471f87

4
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.162 2009-08-16 19:16:27 tcunha Exp $ */
/* $Id: tmux.c,v 1.163 2009-08-16 19:20:37 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -408,7 +408,7 @@ main(int argc, char **argv)
options_set_number(&global_w_options, "mode-bg", 3);
options_set_number(&global_w_options, "mode-fg", 0);
options_set_number(&global_w_options, "mode-keys", MODEKEY_EMACS);
options_set_number(&global_w_options, "mode-mouse", 1);
options_set_number(&global_w_options, "mode-mouse", 0);
options_set_number(&global_w_options, "monitor-activity", 0);
options_set_string(&global_w_options, "monitor-content", "%s", "");
if (flags & IDENTIFY_UTF8)