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:
parent
e1a61991d9
commit
0379d01c52
@ -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())
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
959,
|
||||
/**/
|
||||
958,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user