summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-08 21:00:24 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-08 21:00:24 +0000
commit48873aebc05608e9e5e56b8628ae6d2789ab7c48 (patch)
treecf86948c671f99666a080f1eba0d50c7bab2b785
parent78a61068cf2c83e611d954a0fb413a09ad59dc07 (diff)
patch 8.2.3760: not automatically handling gnome terminal mouse like xtermv8.2.3760
Problem: Not automatically handling gnome terminal mouse like xterm. Solution: Default 'ttymouse' to "xterm" and recognize Focus events. (issue #9296)
-rw-r--r--src/os_unix.c1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index f93bc95862..32850f3bf2 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 13b6a0cf60..3f0b5fda9a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3760,
+/**/
3759,
/**/
3758,