Skip to content

Commit c92831c

Browse files
committed
updated for version 7.3.633
Problem: Selection remains displayed as selected after selecting another text. Solution: Call xterm_update() before select(). (Andrew Pimlott)
1 parent 1eb36b4 commit c92831c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/os_unix.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5196,6 +5196,10 @@ RealWaitForChar(fd, msec, check_for_gpm)
51965196
FD_SET(ConnectionNumber(xterm_dpy), &rfds);
51975197
if (maxfd < ConnectionNumber(xterm_dpy))
51985198
maxfd = ConnectionNumber(xterm_dpy);
5199+
5200+
/* An event may have already been read but not handled. In
5201+
* particulary, XFlush may cause this. */
5202+
xterm_update();
51995203
}
52005204
# endif
52015205
# ifdef FEAT_MOUSE_GPM
@@ -5216,14 +5220,14 @@ RealWaitForChar(fd, msec, check_for_gpm)
52165220
maxfd = xsmp_icefd;
52175221
}
52185222
# endif
5219-
#ifdef FEAT_NETBEANS_INTG
5223+
# ifdef FEAT_NETBEANS_INTG
52205224
if (nb_fd != -1)
52215225
{
52225226
FD_SET(nb_fd, &rfds);
52235227
if (maxfd < nb_fd)
52245228
maxfd = nb_fd;
52255229
}
5226-
#endif
5230+
# endif
52275231

52285232
# ifdef OLD_VMS
52295233
/* Old VMS as v6.2 and older have broken select(). It waits more than

src/version.c

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

720720
static int included_patches[] =
721721
{ /* Add new patch number below this line */
722+
/**/
723+
633,
722724
/**/
723725
632,
724726
/**/

0 commit comments

Comments
 (0)