From 8798be0e9649e582857484cfb2a9235e1e03cd93 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Sat, 13 May 2006 10:11:39 +0000 Subject: [PATCH] updated for version 7.0-003 --- src/gui.c | 6 +++--- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gui.c b/src/gui.c index 3a07cf1567..9c1b147f1c 100644 --- a/src/gui.c +++ b/src/gui.c @@ -4603,11 +4603,11 @@ gui_mouse_correct() /* Don't move the mouse when it's left or right of the Vim window */ if (x < 0 || x > Columns * gui.char_width) return; + if (y >= 0 # ifdef FEAT_WINDOWS - if (Y_2_ROW(y) >= tabline_height()) -# else - if (y >= 0) + && Y_2_ROW(y) >= tabline_height() # endif + ) wp = xy2win(x, y); if (wp != curwin && wp != NULL) /* If in other than current window */ { diff --git a/src/version.c b/src/version.c index 8eb758b5ae..4d825dff6e 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3, /**/ 2, /**/ -- GitLab