Karsten Hopp 3666ea
To: vim_dev@googlegroups.com
Karsten Hopp 3666ea
Subject: Patch 7.4.930
Karsten Hopp 3666ea
Fcc: outbox
Karsten Hopp 3666ea
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 3666ea
Mime-Version: 1.0
Karsten Hopp 3666ea
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 3666ea
Content-Transfer-Encoding: 8bit
Karsten Hopp 3666ea
------------
Karsten Hopp 3666ea
Karsten Hopp 3666ea
Patch 7.4.930
Karsten Hopp 3666ea
Problem:    MS-Windows: Most users appear not to like the window border.
Karsten Hopp 3666ea
Solution:   Remove WS_EX_CLIENTEDGE. (Ian Halliday)
Karsten Hopp 3666ea
Files:      src/gui_w32.c
Karsten Hopp 3666ea
Karsten Hopp 3666ea
Karsten Hopp 3666ea
*** ../vim-7.4.929/src/gui_w32.c	2015-08-27 22:25:03.464318030 +0200
Karsten Hopp 3666ea
--- src/gui_w32.c	2015-11-19 20:20:37.224433622 +0100
Karsten Hopp 3666ea
***************
Karsten Hopp 3666ea
*** 1661,1667 ****
Karsten Hopp 3666ea
  	    return FAIL;
Karsten Hopp 3666ea
      }
Karsten Hopp 3666ea
      s_textArea = CreateWindowEx(
Karsten Hopp 3666ea
! 	WS_EX_CLIENTEDGE,
Karsten Hopp 3666ea
  	szTextAreaClass, "Vim text area",
Karsten Hopp 3666ea
  	WS_CHILD | WS_VISIBLE, 0, 0,
Karsten Hopp 3666ea
  	100,				/* Any value will do for now */
Karsten Hopp 3666ea
--- 1661,1667 ----
Karsten Hopp 3666ea
  	    return FAIL;
Karsten Hopp 3666ea
      }
Karsten Hopp 3666ea
      s_textArea = CreateWindowEx(
Karsten Hopp 3666ea
! 	0,
Karsten Hopp 3666ea
  	szTextAreaClass, "Vim text area",
Karsten Hopp 3666ea
  	WS_CHILD | WS_VISIBLE, 0, 0,
Karsten Hopp 3666ea
  	100,				/* Any value will do for now */
Karsten Hopp 3666ea
***************
Karsten Hopp 3666ea
*** 1716,1724 ****
Karsten Hopp 3666ea
      highlight_gui_started();
Karsten Hopp 3666ea
  
Karsten Hopp 3666ea
      /*
Karsten Hopp 3666ea
!      * Start out by adding the configured border width into the border offset
Karsten Hopp 3666ea
       */
Karsten Hopp 3666ea
!     gui.border_offset = gui.border_width + 2;	/*CLIENT EDGE*/
Karsten Hopp 3666ea
  
Karsten Hopp 3666ea
      /*
Karsten Hopp 3666ea
       * Set up for Intellimouse processing
Karsten Hopp 3666ea
--- 1716,1724 ----
Karsten Hopp 3666ea
      highlight_gui_started();
Karsten Hopp 3666ea
  
Karsten Hopp 3666ea
      /*
Karsten Hopp 3666ea
!      * Start out by adding the configured border width into the border offset.
Karsten Hopp 3666ea
       */
Karsten Hopp 3666ea
!     gui.border_offset = gui.border_width;
Karsten Hopp 3666ea
  
Karsten Hopp 3666ea
      /*
Karsten Hopp 3666ea
       * Set up for Intellimouse processing
Karsten Hopp 3666ea
*** ../vim-7.4.929/src/version.c	2015-11-19 20:11:50.026118225 +0100
Karsten Hopp 3666ea
--- src/version.c	2015-11-19 20:19:55.232886832 +0100
Karsten Hopp 3666ea
***************
Karsten Hopp 3666ea
*** 743,744 ****
Karsten Hopp 3666ea
--- 743,746 ----
Karsten Hopp 3666ea
  {   /* Add new patch number below this line */
Karsten Hopp 3666ea
+ /**/
Karsten Hopp 3666ea
+     930,
Karsten Hopp 3666ea
  /**/
Karsten Hopp 3666ea
Karsten Hopp 3666ea
-- 
Karsten Hopp 3666ea
"A clear conscience is usually the sign of a bad memory."
Karsten Hopp 3666ea
                             -- Steven Wright
Karsten Hopp 3666ea
Karsten Hopp 3666ea
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 3666ea
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 3666ea
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 3666ea
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///