From 48873aebc05608e9e5e56b8628ae6d2789ab7c48 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 8 Dec 2021 21:00:24 +0000 Subject: [PATCH] patch 8.2.3760: not automatically handling gnome terminal mouse like xterm Problem: Not automatically handling gnome terminal mouse like xterm. Solution: Default 'ttymouse' to "xterm" and recognize Focus events. (issue #9296) --- src/os_unix.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/os_unix.c b/src/os_unix.c index f93bc9586..32850f3bf 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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)); diff --git a/src/version.c b/src/version.c index 13b6a0cf6..3f0b5fda9 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3760, /**/ 3759, /**/ -- 2.40.0