# HG changeset patch # User Bram Moolenaar # Date 1638998103 -3600 # Node ID caad9c0ba543abb7165137774097a2386016ce2b # Parent 12a676dfb7eafc96d6595c4fb9a6b29561b7b1cb patch 8.2.3760: not automatically handling gnome terminal mouse like xterm Commit: https://github.com/vim/vim/commit/48873aebc05608e9e5e56b8628ae6d2789ab7c48 Author: Bram Moolenaar Date: Wed Dec 8 21:00:24 2021 +0000 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) diff --git a/src/os_unix.c b/src/os_unix.c --- 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 --- 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,