# HG changeset patch # User Christian Brabandt # Date 1449174605 -3600 # Node ID 5d9e27621ffaf46c50725a6ee5dfe2a0dd75a6f1 # Parent a9dc9da618a4b0695a980955269dd71a8c118332 commit https://github.com/vim/vim/commit/0379d01c52e7930ccfc9133f229fba54a2024a42 Author: Bram Moolenaar Date: Thu Dec 3 21:17:24 2015 +0100 patch 7.4.959 Problem: When setting 'term' the clipboard ownership is lost. Solution: Do not call clip_init(). (James McCoy) diff --git a/src/term.c b/src/term.c --- a/src/term.c +++ b/src/term.c @@ -1880,14 +1880,6 @@ set_termname(term) p = (char_u *)""; # ifdef FEAT_MOUSE_XTERM -# ifdef FEAT_CLIPBOARD -# ifdef FEAT_GUI - if (!gui.in_use) -# endif -# ifndef FEAT_CYGWIN_WIN32_CLIPBOARD - clip_init(FALSE); -# endif -# endif if (use_xterm_like_mouse(term)) { if (use_xterm_mouse()) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 959, +/**/ 958, /**/ 957,