diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-23 21:32:16 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-23 21:32:16 +0000 |
commit | df1bdc92c289d4531f82418f448466c99ca4bb78 (patch) | |
tree | c8ab380c2ffaa17450ffeb5a4ed51c404a38fe15 /src/term.c | |
parent | 80a94a582cd2d5307d1e65ec06fe0fb05f60d7c9 (diff) | |
download | vim-git-df1bdc92c289d4531f82418f448466c99ca4bb78.tar.gz |
updated for version 7.0205
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index f9d6d2dd9..621d35ba2 100644 --- a/src/term.c +++ b/src/term.c @@ -4695,10 +4695,18 @@ check_termcode(max_offset, buf, buflen) && orig_num_clicks != 4 && orig_mouse_col == mouse_col && orig_mouse_row == mouse_row + && ((orig_topline == curwin->w_topline #ifdef FEAT_DIFF - && orig_topfill == curwin->w_topfill + && orig_topfill == curwin->w_topfill #endif - && orig_topline == curwin->w_topline) + ) +#ifdef FEAT_WINDOWS + /* Double click in tab pages line also works + * when window contents changes. */ + || (mouse_row == 0 && firstwin->w_winrow > 0) +#endif + ) + ) ++orig_num_clicks; else orig_num_clicks = 1; |