Karsten Hopp 2619ed
To: vim_dev@googlegroups.com
Karsten Hopp 2619ed
Subject: Patch 7.3.467
Karsten Hopp 2619ed
Fcc: outbox
Karsten Hopp 2619ed
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2619ed
Mime-Version: 1.0
Karsten Hopp 2619ed
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 2619ed
Content-Transfer-Encoding: 8bit
Karsten Hopp 2619ed
------------
Karsten Hopp 2619ed
Karsten Hopp 2619ed
Patch 7.3.467
Karsten Hopp 2619ed
Problem:    Cursor positioned wrong at the command line when regaining focus
Karsten Hopp 2619ed
	    and using some input method.
Karsten Hopp 2619ed
Solution:   Do not position the cursor in command line mode.
Karsten Hopp 2619ed
Files:	    src/mbyte.c
Karsten Hopp 2619ed
Karsten Hopp 2619ed
Karsten Hopp 2619ed
*** ../vim-7.3.466/src/mbyte.c	2011-12-08 15:09:46.000000000 +0100
Karsten Hopp 2619ed
--- src/mbyte.c	2012-03-07 19:36:44.000000000 +0100
Karsten Hopp 2619ed
***************
Karsten Hopp 2619ed
*** 4504,4510 ****
Karsten Hopp 2619ed
      vgetc_busy = TRUE;
Karsten Hopp 2619ed
      showmode();
Karsten Hopp 2619ed
      vgetc_busy = old_vgetc_busy;
Karsten Hopp 2619ed
!     setcursor();
Karsten Hopp 2619ed
      out_flush();
Karsten Hopp 2619ed
  }
Karsten Hopp 2619ed
  
Karsten Hopp 2619ed
--- 4504,4511 ----
Karsten Hopp 2619ed
      vgetc_busy = TRUE;
Karsten Hopp 2619ed
      showmode();
Karsten Hopp 2619ed
      vgetc_busy = old_vgetc_busy;
Karsten Hopp 2619ed
!     if ((State & NORMAL) || (State & INSERT))
Karsten Hopp 2619ed
! 	setcursor();
Karsten Hopp 2619ed
      out_flush();
Karsten Hopp 2619ed
  }
Karsten Hopp 2619ed
  
Karsten Hopp 2619ed
*** ../vim-7.3.466/src/version.c	2012-03-07 19:30:32.000000000 +0100
Karsten Hopp 2619ed
--- src/version.c	2012-03-07 19:38:22.000000000 +0100
Karsten Hopp 2619ed
***************
Karsten Hopp 2619ed
*** 716,717 ****
Karsten Hopp 2619ed
--- 716,719 ----
Karsten Hopp 2619ed
  {   /* Add new patch number below this line */
Karsten Hopp 2619ed
+ /**/
Karsten Hopp 2619ed
+     467,
Karsten Hopp 2619ed
  /**/
Karsten Hopp 2619ed
Karsten Hopp 2619ed
-- 
Karsten Hopp 2619ed
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 2619ed
154. You fondle your mouse.
Karsten Hopp 2619ed
Karsten Hopp 2619ed
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2619ed
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2619ed
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 2619ed
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///