Skip to content

Commit 0379d01

Browse files
committed
patch 7.4.959
Problem: When setting 'term' the clipboard ownership is lost. Solution: Do not call clip_init(). (James McCoy)
1 parent e1a6199 commit 0379d01

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/term.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,14 +1880,6 @@ set_termname(term)
18801880

18811881
p = (char_u *)"";
18821882
# ifdef FEAT_MOUSE_XTERM
1883-
# ifdef FEAT_CLIPBOARD
1884-
# ifdef FEAT_GUI
1885-
if (!gui.in_use)
1886-
# endif
1887-
# ifndef FEAT_CYGWIN_WIN32_CLIPBOARD
1888-
clip_init(FALSE);
1889-
# endif
1890-
# endif
18911883
if (use_xterm_like_mouse(term))
18921884
{
18931885
if (use_xterm_mouse())

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
959,
744746
/**/
745747
958,
746748
/**/

0 commit comments

Comments
 (0)