]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.633 v7.3.633
authorBram Moolenaar <Bram@vim.org>
Wed, 15 Aug 2012 15:26:57 +0000 (17:26 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 15 Aug 2012 15:26:57 +0000 (17:26 +0200)
Problem:    Selection remains displayed as selected after selecting another
            text.
Solution:   Call xterm_update() before select(). (Andrew Pimlott)

src/os_unix.c
src/version.c

index 98ff1ea662a8125419f7d0419e7206b0fd1c98a1..2ef589350208a8a546287a62fbc7d9cfe6b787ce 100644 (file)
@@ -5196,6 +5196,10 @@ select_eintr:
            FD_SET(ConnectionNumber(xterm_dpy), &rfds);
            if (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
 # ifdef FEAT_MOUSE_GPM
@@ -5216,14 +5220,14 @@ select_eintr:
                maxfd = xsmp_icefd;
        }
 # endif
-#ifdef FEAT_NETBEANS_INTG
+# ifdef FEAT_NETBEANS_INTG
        if (nb_fd != -1)
        {
            FD_SET(nb_fd, &rfds);
            if (maxfd < nb_fd)
                maxfd = nb_fd;
        }
-#endif
+# endif
 
 # ifdef OLD_VMS
        /* Old VMS as v6.2 and older have broken select(). It waits more than
index a9f80b14c98ee18295eaaf8d308f0dd156af72f2..b02216a1f1b8af39a0d0ba4ed07adb534b10c51f 100644 (file)
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    633,
 /**/
     632,
 /**/