]> granicus.if.org Git - vim/commitdiff
patch 8.2.3760: not automatically handling gnome terminal mouse like xterm v8.2.3760
authorBram Moolenaar <Bram@vim.org>
Wed, 8 Dec 2021 21:00:24 +0000 (21:00 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 8 Dec 2021 21:00:24 +0000 (21:00 +0000)
Problem:    Not automatically handling gnome terminal mouse like xterm.
Solution:   Default 'ttymouse' to "xterm" and recognize Focus events.
            (issue #9296)

src/os_unix.c
src/version.c

index f93bc958627f358e9b6132d4a6ca2b07a02b92f7..32850f3bf2f2f71de06c178ded807d811b8497cb 100644 (file)
@@ -2340,6 +2340,7 @@ use_xterm_like_mouse(char_u *name)
            && (term_is_xterm
                || STRNICMP(name, "screen", 6) == 0
                || STRNICMP(name, "tmux", 4) == 0
+               || STRNICMP(name, "gnome", 5) == 0
                || STRICMP(name, "st") == 0
                || STRNICMP(name, "st-", 3) == 0
                || STRNICMP(name, "stterm", 6) == 0));
index 13b6a0cf60cddaee2cc9f7e16bba92f9b2ae2594..3f0b5fda9abaa0c77cbbf795b1c4cfe215ea6052 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3760,
 /**/
     3759,
 /**/