0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.959

Problem:    When setting 'term' the clipboard ownership is lost.
Solution:   Do not call clip_init(). (James McCoy)
This commit is contained in:
Bram Moolenaar 2015-12-03 21:17:24 +01:00
parent e1a61991d9
commit 0379d01c52
2 changed files with 2 additions and 8 deletions

View File

@ -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())

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
959,
/**/
958,
/**/