forked from aniani/vim
updated for version 7.3.633
Problem: Selection remains displayed as selected after selecting another text. Solution: Call xterm_update() before select(). (Andrew Pimlott)
This commit is contained in:
@@ -5196,6 +5196,10 @@ select_eintr:
|
|||||||
FD_SET(ConnectionNumber(xterm_dpy), &rfds);
|
FD_SET(ConnectionNumber(xterm_dpy), &rfds);
|
||||||
if (maxfd < ConnectionNumber(xterm_dpy))
|
if (maxfd < ConnectionNumber(xterm_dpy))
|
||||||
maxfd = ConnectionNumber(xterm_dpy);
|
maxfd = ConnectionNumber(xterm_dpy);
|
||||||
|
|
||||||
|
/* An event may have already been read but not handled. In
|
||||||
|
* particulary, XFlush may cause this. */
|
||||||
|
xterm_update();
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
# ifdef FEAT_MOUSE_GPM
|
# ifdef FEAT_MOUSE_GPM
|
||||||
@@ -5216,14 +5220,14 @@ select_eintr:
|
|||||||
maxfd = xsmp_icefd;
|
maxfd = xsmp_icefd;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
#ifdef FEAT_NETBEANS_INTG
|
# ifdef FEAT_NETBEANS_INTG
|
||||||
if (nb_fd != -1)
|
if (nb_fd != -1)
|
||||||
{
|
{
|
||||||
FD_SET(nb_fd, &rfds);
|
FD_SET(nb_fd, &rfds);
|
||||||
if (maxfd < nb_fd)
|
if (maxfd < nb_fd)
|
||||||
maxfd = nb_fd;
|
maxfd = nb_fd;
|
||||||
}
|
}
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
# ifdef OLD_VMS
|
# ifdef OLD_VMS
|
||||||
/* Old VMS as v6.2 and older have broken select(). It waits more than
|
/* Old VMS as v6.2 and older have broken select(). It waits more than
|
||||||
|
@@ -719,6 +719,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
633,
|
||||||
/**/
|
/**/
|
||||||
632,
|
632,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user