Karsten Hopp 4fb636
To: vim_dev@googlegroups.com
Karsten Hopp 4fb636
Subject: Patch 7.3.633
Karsten Hopp 4fb636
Fcc: outbox
Karsten Hopp 4fb636
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 4fb636
Mime-Version: 1.0
Karsten Hopp 4fb636
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 4fb636
Content-Transfer-Encoding: 8bit
Karsten Hopp 4fb636
------------
Karsten Hopp 4fb636
Karsten Hopp 4fb636
Patch 7.3.633
Karsten Hopp 4fb636
Problem:    Selection remains displayed as selected after selecting another
Karsten Hopp 4fb636
	    text.
Karsten Hopp 4fb636
Solution:   Call xterm_update() before select(). (Andrew Pimlott)
Karsten Hopp 4fb636
Files:	    src/os_unix.c
Karsten Hopp 4fb636
Karsten Hopp 4fb636
Karsten Hopp 4fb636
*** ../vim-7.3.632/src/os_unix.c	2012-08-15 16:20:59.000000000 +0200
Karsten Hopp 4fb636
--- src/os_unix.c	2012-08-15 17:15:58.000000000 +0200
Karsten Hopp 4fb636
***************
Karsten Hopp 4fb636
*** 5196,5201 ****
Karsten Hopp 4fb636
--- 5196,5205 ----
Karsten Hopp 4fb636
  	    FD_SET(ConnectionNumber(xterm_dpy), &rfds);
Karsten Hopp 4fb636
  	    if (maxfd < ConnectionNumber(xterm_dpy))
Karsten Hopp 4fb636
  		maxfd = ConnectionNumber(xterm_dpy);
Karsten Hopp 4fb636
+ 
Karsten Hopp 4fb636
+ 	    /* An event may have already been read but not handled.  In
Karsten Hopp 4fb636
+ 	     * particulary, XFlush may cause this. */
Karsten Hopp 4fb636
+ 	    xterm_update();
Karsten Hopp 4fb636
  	}
Karsten Hopp 4fb636
  # endif
Karsten Hopp 4fb636
  # ifdef FEAT_MOUSE_GPM
Karsten Hopp 4fb636
***************
Karsten Hopp 4fb636
*** 5216,5229 ****
Karsten Hopp 4fb636
  		maxfd = xsmp_icefd;
Karsten Hopp 4fb636
  	}
Karsten Hopp 4fb636
  # endif
Karsten Hopp 4fb636
! #ifdef FEAT_NETBEANS_INTG
Karsten Hopp 4fb636
  	if (nb_fd != -1)
Karsten Hopp 4fb636
  	{
Karsten Hopp 4fb636
  	    FD_SET(nb_fd, &rfds);
Karsten Hopp 4fb636
  	    if (maxfd < nb_fd)
Karsten Hopp 4fb636
  		maxfd = nb_fd;
Karsten Hopp 4fb636
  	}
Karsten Hopp 4fb636
! #endif
Karsten Hopp 4fb636
  
Karsten Hopp 4fb636
  # ifdef OLD_VMS
Karsten Hopp 4fb636
  	/* Old VMS as v6.2 and older have broken select(). It waits more than
Karsten Hopp 4fb636
--- 5220,5233 ----
Karsten Hopp 4fb636
  		maxfd = xsmp_icefd;
Karsten Hopp 4fb636
  	}
Karsten Hopp 4fb636
  # endif
Karsten Hopp 4fb636
! # ifdef FEAT_NETBEANS_INTG
Karsten Hopp 4fb636
  	if (nb_fd != -1)
Karsten Hopp 4fb636
  	{
Karsten Hopp 4fb636
  	    FD_SET(nb_fd, &rfds);
Karsten Hopp 4fb636
  	    if (maxfd < nb_fd)
Karsten Hopp 4fb636
  		maxfd = nb_fd;
Karsten Hopp 4fb636
  	}
Karsten Hopp 4fb636
! # endif
Karsten Hopp 4fb636
  
Karsten Hopp 4fb636
  # ifdef OLD_VMS
Karsten Hopp 4fb636
  	/* Old VMS as v6.2 and older have broken select(). It waits more than
Karsten Hopp 4fb636
*** ../vim-7.3.632/src/version.c	2012-08-15 16:20:59.000000000 +0200
Karsten Hopp 4fb636
--- src/version.c	2012-08-15 17:22:17.000000000 +0200
Karsten Hopp 4fb636
***************
Karsten Hopp 4fb636
*** 721,722 ****
Karsten Hopp 4fb636
--- 721,724 ----
Karsten Hopp 4fb636
  {   /* Add new patch number below this line */
Karsten Hopp 4fb636
+ /**/
Karsten Hopp 4fb636
+     633,
Karsten Hopp 4fb636
  /**/
Karsten Hopp 4fb636
Karsten Hopp 4fb636
-- 
Karsten Hopp 4fb636
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 4fb636
245. You use Real Audio to listen to a radio station from a distant
Karsten Hopp 4fb636
     city rather than turn on your stereo system.
Karsten Hopp 4fb636
Karsten Hopp 4fb636
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 4fb636
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 4fb636
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 4fb636
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///